We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ffefe38 + f4a9e21 commit 9093170Copy full SHA for 9093170
1 file changed
.github/workflows/container_image.yaml
@@ -37,11 +37,11 @@ jobs:
37
38
- name: Set expiration on commit image
39
env:
40
- QUAY_TOKEN: ${{ secrets.QUAY_TOKEN }} # zizmor: ignore[secrets-outside-env]
+ QUAY_OAUTH_TOKEN: ${{ secrets.QUAY_OAUTH_TOKEN }} # zizmor: ignore[secrets-outside-env]
41
run: |
42
EXPIRATION=$(($(date -u +%s) + 2419200))
43
curl -sf -X PUT \
44
- -H "Authorization: Bearer ${QUAY_TOKEN}" \
+ -H "Authorization: Bearer ${QUAY_OAUTH_TOKEN}" \
45
-H "Content-Type: application/json" \
46
-d "{\"expiration\": $EXPIRATION}" \
47
"https://quay.io/api/v1/repository/orc/openstack-resource-controller/tag/commit-${GITHUB_SHA::7}"
0 commit comments