Skip to content

Commit

Permalink
update glibc build action
Browse files Browse the repository at this point in the history
  • Loading branch information
YuChia-Wei committed Apr 17, 2024
1 parent a1465f7 commit 407942b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/docker-publish-glibc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,22 @@ jobs:
- "7.0"
- "8.0"
os:
# - "-bullseye-slim"
- "-bookworm-slim"
- ""

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 1

# Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer
- name: Install cosign
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 #v3.1.1
uses: sigstore/cosign-installer@v3.5.0
with:
cosign-release: 'v2.1.1'
cosign-release: 'v2.2.4'

# Setup Docker buildx
# https://github.com/docker/setup-buildx-action
Expand Down Expand Up @@ -117,4 +118,9 @@ jobs:
DIGEST: ${{ steps.build-and-push.outputs.digest }}
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
run: |
images=""
for tag in ${TAGS}; do
images+="${tag}@${DIGEST} "
done
cosign sign --yes ${images}
1 change: 0 additions & 1 deletion .github/workflows/docker-publish-musl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ jobs:
DIGEST: ${{ steps.build-and-push.outputs.digest }}
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
# run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
run: |
images=""
for tag in ${TAGS}; do
Expand Down

0 comments on commit 407942b

Please sign in to comment.