diff options
author | Joffrey Bion <joffrey.bion@gmail.com> | 2022-11-05 23:18:41 +0100 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@gmail.com> | 2022-11-05 23:18:41 +0100 |
commit | 4165f3dc04742273013402d8ead42a75b4f52365 (patch) | |
tree | d2d305917c8895c11c7510ed1fcd0216183194a3 /.github/workflows/deploy.yml | |
parent | Switch to official gradle-build-action (diff) | |
download | seven-wonders-4165f3dc04742273013402d8ead42a75b4f52365.tar.gz seven-wonders-4165f3dc04742273013402d8ead42a75b4f52365.tar.bz2 seven-wonders-4165f3dc04742273013402d8ead42a75b4f52365.zip |
Upgrade docker actions
Diffstat (limited to '.github/workflows/deploy.yml')
-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 |