File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 58
58
shell : bash
59
59
60
60
- name : Build image 🛠
61
- run : docker build --rm --force-rm --tag ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ inputs.image }} images/${{ inputs.image }}/${{ inputs.variant != 'default' && inputs.variant || '.' }}/ --build-arg REGISTRY=${{ env.REGISTRY }} --build-arg OWNER=${{ env.OWNER }}
61
+ run : >
62
+ docker build
63
+ --rm --force-rm
64
+ --tag ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ inputs.image }}
65
+ images/${{ inputs.image }}/${{ inputs.variant != 'default' && inputs.variant || '.' }}/
66
+ --build-arg REGISTRY=${{ env.REGISTRY }}
67
+ --build-arg OWNER=${{ env.OWNER }}
62
68
env :
63
69
DOCKER_BUILDKIT : 1
64
70
# Full logs for CI build
Original file line number Diff line number Diff line change @@ -32,12 +32,18 @@ jobs:
32
32
33
33
- name : Login to Quay.io 🔐
34
34
if : env.PUSH_TO_REGISTRY == 'true'
35
- run : skopeo login quay.io --username ${{ secrets.QUAY_USERNAME }} --password ${{ secrets.QUAY_ROBOT_TOKEN }}
35
+ run : >
36
+ skopeo login quay.io
37
+ --username ${{ secrets.QUAY_USERNAME }}
38
+ --password ${{ secrets.QUAY_ROBOT_TOKEN }}
36
39
37
40
- name : Move image from Docker Hub to Quay.io 🐳
38
41
if : env.PUSH_TO_REGISTRY == 'true'
39
- run : |
40
- skopeo copy --multi-arch all docker://${{ env.OWNER }}/${{ matrix.image }}:${{ matrix.tag }} docker://quay.io/${{ env.OWNER }}/${{ matrix.image }}:${{ matrix.tag }}
42
+ run : >
43
+ skopeo copy
44
+ --multi-arch all
45
+ docker://${{ env.OWNER }}/${{ matrix.image }}:${{ matrix.tag }}
46
+ docker://quay.io/${{ env.OWNER }}/${{ matrix.image }}:${{ matrix.tag }}
41
47
42
48
strategy :
43
49
fail-fast : false
You can’t perform that action at this time.
0 commit comments