Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
skyblaster authored Jan 19, 2025
1 parent 616b47a commit da998d0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ghcr-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:

runs-on: ${{ matrix.runs-on }}

outputs:
digest: ${{ steps.build.outputs.digest }}

steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -35,7 +38,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image for ${{ matrix.arch }}
id: build-${{ matrix.arch }}
id: build
uses: docker/build-push-action@v4
with:
context: .
Expand All @@ -60,5 +63,5 @@ jobs:
with:
tags: ghcr.io/skyblaster/caddy:latest
sources: |
ghcr.io/skyblaster/caddy:amd64@${{ needs.build.outputs['build-amd64.digest'] }}
ghcr.io/skyblaster/caddy:arm64@${{ needs.build.outputs['build-arm64.digest'] }}
ghcr.io/skyblaster/caddy:amd64@${{ needs.build.outputs.digest }}
ghcr.io/skyblaster/caddy:arm64@${{ needs.build.outputs.digest }}

0 comments on commit da998d0

Please sign in to comment.