Skip to content

Commit

Permalink
build: Update deploy config
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeboer committed Mar 27, 2024
1 parent 89e6a08 commit de757ba
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set variables
id: vars
Expand All @@ -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
Expand Down

0 comments on commit de757ba

Please sign in to comment.