You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5a2ac3e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .github/workflows/multiarch-build.yaml
+18-4Lines changed: 18 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -25,8 +25,11 @@ jobs:
25
25
id: build-image
26
26
uses: redhat-actions/buildah-build@3f7ef4f0e61d6d1def3bf4fdd77798afca03428b # main; v3.1.0 has a broken inspect template (fixed upstream in https://github.com/redhat-actions/buildah-build/pull/207), switch back to @v3 once released
27
27
with:
28
-
image: php
29
-
tags: latest
28
+
# Fully qualified names: push-to-registry@v3 looks the local manifest
29
+
# up as "localhost/<image>:<tag>" (run 39996644389 failed with
30
+
# "localhost/php:latest: image not known" for an unqualified "php").
31
+
# "1h" is the ttl.sh retention tag used for non-master verification.
32
+
tags: localhost/php:latest localhost/php:1h
30
33
platforms: linux/amd64, linux/arm64
31
34
containerfiles: Containerfile
32
35
@@ -35,8 +38,19 @@ jobs:
35
38
uses: redhat-actions/push-to-registry@v3
36
39
if: github.ref == 'refs/heads/master'
37
40
with:
38
-
image: ${{ steps.build-image.outputs.image }}
39
-
tags: ${{ steps.build-image.outputs.tags }}
41
+
image: php
42
+
tags: latest
40
43
registry: quay.io/wavesoftware
41
44
username: ${{ secrets.QUAY_USER }}
42
45
password: ${{ secrets.QUAY_PASSWORD }}
46
+
47
+
# Outside master, push to the anonymous, ephemeral ttl.sh registry so the
48
+
# push path is verified on every branch without touching quay.io.
0 commit comments