Skip to content

Commit

Permalink
pin apko-publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
emosbaugh committed Dec 17, 2024
1 parent 8687814 commit 32960b5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/actions/build-custom-image-with-apko/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ runs:
export GIT_TAG=${{ inputs.git-tag }}
envsubst '${GIT_TAG}' < ${{ inputs.context }}/apko.yaml.tmpl > ${{ inputs.context }}/apko.yaml
- uses: chainguard-images/actions/apko-publish@85c82d7a597681a7fcd8c42a6295af07c096354b
- shell: bash
run: |
mkdir -p /home/runner/work/actions/actions
- uses: chainguard-images/actions/apko-publish@main
with:
config: ${{ inputs.context }}/apko.yaml
archs: amd64,arm64
Expand Down
6 changes: 5 additions & 1 deletion .github/actions/build-dep-image-with-apko/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ runs:
echo "image-exists=false" >> "$GITHUB_OUTPUT"
fi
- uses: chainguard-images/actions/apko-publish@85c82d7a597681a7fcd8c42a6295af07c096354b
- shell: bash
run: |
mkdir -p /home/runner/work/actions/actions
- uses: chainguard-images/actions/apko-publish@main
if: ${{ inputs.overwrite == 'true' || steps.check-image-exists.outputs.image-exists == 'false' }}
with:
config: ${{ inputs.apko-config }}
Expand Down

0 comments on commit 32960b5

Please sign in to comment.