Skip to content

Commit

Permalink
Update actions repository (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
hpedrorodrigues authored Feb 19, 2025
1 parent 709337b commit 890e7cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_shared_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
config: ${{ inputs.image }}/${{ inputs.image }}.apko.yaml
tag: ghcr.io/${{ inputs.owner }}/${{ inputs.image }}:${{ inputs.version }}
repository-append: ${{ github.workspace }}/${{ inputs.image }}/packages
build-repository-append: ${{ github.workspace }}/${{ inputs.image }}/packages
keyring-append: ${{ inputs.melange_package && format('{0}/melange.rsa.pub', github.workspace) || '' }}
- name: Load image into docker daemon
run: docker load < output.tar
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/_shared_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ jobs:
username: ${{ inputs.owner }}
password: ${{ secrets.dh_token }}
- name: Publish to Docker Hub
# We can uncomment the following line once this pull request is merged:
# https://github.com/chainguard-images/actions/pull/165
# uses: chainguard-images/actions/apko-snapshot@main
uses: hpedrorodrigues/chainguard-images-actions/apko-snapshot@dev
uses: chainguard-images/actions/apko-snapshot@main
with:
config: ${{ inputs.image }}/${{ inputs.image }}.apko.yaml
base-tag: docker.io/${{ inputs.owner }}/${{ inputs.image }}
Expand Down Expand Up @@ -107,10 +104,7 @@ jobs:
echo "epoch=$(date -u +%s)" >> ${GITHUB_OUTPUT}
shell: sh
- name: Publish to GitHub Container Registry
# We can uncomment the following line once this pull request is merged:
# https://github.com/chainguard-images/actions/pull/165
# uses: chainguard-images/actions/apko-snapshot@main
uses: hpedrorodrigues/chainguard-images-actions/apko-snapshot@dev
uses: chainguard-images/actions/apko-snapshot@main
with:
config: ${{ inputs.image }}/${{ inputs.image }}.apko.yaml
base-tag: ghcr.io/${{ inputs.owner }}/${{ inputs.image }}
Expand Down

0 comments on commit 890e7cd

Please sign in to comment.