From de757bad6f6eff10f491e54f531074a722596941 Mon Sep 17 00:00:00 2001 From: David de Boer Date: Wed, 27 Mar 2024 14:18:59 +0100 Subject: [PATCH] build: Update deploy config --- .github/workflows/deploy.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index dfbebe2..50da381 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set variables id: vars @@ -19,20 +19,17 @@ jobs: echo "::set-output name=docker_image::ghcr.io/netwerk-digitaal-erfgoed/ldwizard-erfgoedwizard" - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - with: - # See https://github.com/docker/build-push-action/issues/126. - driver-opts: image=moby/buildkit:master + uses: docker/setup-buildx-action@v3 - name: Log in to Docker registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }} - name: Build and push image to Docker registry - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: context: . file: docker/Dockerfile