diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f549eeb..e5eb81d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,11 +7,10 @@ on: jobs: deploy: - strategy: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - - name: Deploy Image + - name: Build and Deploy Image run: bash scripts/build-push.sh env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f0ca75a..bf1b4af 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,9 +9,8 @@ on: jobs: test: - strategy: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - - name: Deploy Image + - name: Build Image run: bash scripts/build.sh diff --git a/Dockerfile b/Dockerfile index 54fde2a..aa4460a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ FROM docker:latest -RUN apk add --no-cache py3-pip python3-dev libffi-dev openssl-dev curl gcc libc-dev make && \ +RUN apk add --no-cache py3-pip python3-dev libffi-dev openssl-dev curl gcc libc-dev rust cargo make && \ pip3 install docker-compose