mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-25 01:43:41 +00:00
Make the workaround one-liner like the cosign part
Also update the caching part of things btw Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
parent
d020834b8c
commit
f57b1b1670
1 changed files with 2 additions and 12 deletions
14
.github/workflows/docker.yml
vendored
14
.github/workflows/docker.yml
vendored
|
@ -97,12 +97,7 @@ jobs:
|
|||
cache-to: type=gha,mode=max
|
||||
- name: Workaround pushbot for misbehaving reverse proxies
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
run: |
|
||||
set +xe
|
||||
for each "${{ steps.meta.outputs.tags }}" in tag;
|
||||
do
|
||||
docker push $tag
|
||||
done
|
||||
run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} docker push {}
|
||||
|
||||
# Sign the resulting Docker image digest except on PRs.
|
||||
# This will only write to the public Rekor transparency log when the Docker
|
||||
|
@ -193,12 +188,7 @@ jobs:
|
|||
cache-to: type=gha,mode=max
|
||||
- name: Workaround pushbot for misbehaving reverse proxies
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
run: |
|
||||
set +xe
|
||||
for each "${{ steps.meta.outputs.tags }}" in tag;
|
||||
do
|
||||
docker push $tag
|
||||
done
|
||||
run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} docker push {}
|
||||
|
||||
# Sign the resulting Docker image digest except on PRs.
|
||||
# This will only write to the public Rekor transparency log when the Docker
|
||||
|
|
Loading…
Reference in a new issue