From 4165f3dc04742273013402d8ead42a75b4f52365 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Sat, 5 Nov 2022 23:18:41 +0100 Subject: Upgrade docker actions --- .github/workflows/deploy.yml | 9 ++++----- 1 file 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 -- cgit