diff options
-rw-r--r-- | .github/workflows/deploy.yml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ad1345b1..73cc0cda 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,26 +29,25 @@ jobs: # required for Docker build/push - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ env.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }} - name: Build and push to DockerHub and GitHub Container Registry - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: ./sw-server - file: ./sw-server/Dockerfile push: true tags: | ${{ env.DOCKERHUB_USER }}/${{ env.DOCKER_IMAGE_NAME }}:latest |