Skip to content

Commit

Permalink
Update db-sync action to use only its context directory
Browse files Browse the repository at this point in the history
There is nothing else needed for the db-sync image, so we only use the
sync directory as the context. This should keep the builds somewhat
smaller and faster.
  • Loading branch information
botimer committed May 29, 2024
1 parent 06ba2d3 commit c820c05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-sync-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ jobs:
- name: Build image and push to GitHub Container Registry
uses: docker/build-push-action@v5
with:
context: .
context: db/sync
push: true
tags: 'ghcr.io/mlibrary/lauth/db-sync:${{ github.sha }}, ghcr.io/mlibrary/lauth/db-sync:latest'
file: db/sync/Dockerfile
platforms: linux/amd64, linux/arm64

- name: Image digest
Expand Down

0 comments on commit c820c05

Please sign in to comment.