Skip to content

Commit

Permalink
Update github actions and use correct image determination for manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
bdhoine committed Dec 11, 2024
1 parent 3b7c9fc commit 8656343
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5
with:
images: ${{ env.registry }}/${{ github.repository }}
- name: Build and push docker image
id: push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.ref == 'refs/heads/main' }}
Expand All @@ -68,7 +68,7 @@ jobs:
PORT=${{ matrix.runmode == 'author' && '4502' || '4503' }}
- name: Generate artifact attestation
if: github.ref == 'refs/heads/main'
uses: actions/attest-build-provenance@v1
uses: actions/attest-build-provenance@v2
with:
subject-name: ${{ env.registry }}/${{ github.repository }}
subject-digest: ${{ steps.push.outputs.digest }}
Expand All @@ -82,7 +82,7 @@ jobs:
id-token: write
strategy:
matrix:
arch: [ arm64, amd64 ]
runmode: [ author, publish ]
runs-on: ubuntu-latest
needs: build-images
steps:
Expand Down

0 comments on commit 8656343

Please sign in to comment.