@@ -63,27 +63,27 @@ jobs:
63
63
shell : bash
64
64
65
65
- name : Build image 🛠
66
- run : >
67
- docker build
68
- --rm --force-rm
69
- --tag ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ inputs.image }}
70
- images/${{ inputs.image }}/${{ inputs.variant != 'default' && inputs.variant || '.' }}/
71
- --build-arg REGISTRY=${{ env.REGISTRY }}
72
- --build-arg OWNER=${{ env.OWNER }}
66
+ run : |
67
+ docker build \
68
+ --rm --force-rm \
69
+ --tag ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ inputs.image }} \
70
+ images/${{ inputs.image }}/${{ inputs.variant != 'default' && inputs.variant || '.' }}/ \
71
+ --build-arg REGISTRY=${{ env.REGISTRY }} \
72
+ --build-arg OWNER=${{ env.OWNER }}
73
73
env :
74
74
DOCKER_BUILDKIT : 1
75
75
# Full logs for CI build
76
76
BUILDKIT_PROGRESS : plain
77
77
shell : bash
78
78
79
79
- name : Write tags file 🏷
80
- run : >
81
- python3 -m tagging.apps.write_tags_file
82
- --registry ${{ env.REGISTRY }}
83
- --owner ${{ env.OWNER }}
84
- --image ${{ inputs.image }}
85
- --variant ${{ inputs.variant }}
86
- --tags-dir /tmp/jupyter/tags/
80
+ run : |
81
+ python3 -m tagging.apps.write_tags_file \
82
+ --registry ${{ env.REGISTRY }} \
83
+ --owner ${{ env.OWNER }} \
84
+ --image ${{ inputs.image }} \
85
+ --variant ${{ inputs.variant }} \
86
+ --tags-dir /tmp/jupyter/tags/
87
87
shell : bash
88
88
- name : Upload tags file 💾
89
89
uses : actions/upload-artifact@v4
@@ -93,15 +93,15 @@ jobs:
93
93
retention-days : 3
94
94
95
95
- name : Write manifest and build history file 🏷
96
- run : >
97
- python3 -m tagging.apps.write_manifest
98
- --registry ${{ env.REGISTRY }}
99
- --owner ${{ env.OWNER }}
100
- --image ${{ inputs.image }}
101
- --variant ${{ inputs.variant }}
102
- --hist-lines-dir /tmp/jupyter/hist_lines/
103
- --manifests-dir /tmp/jupyter/manifests/
104
- --repository ${{ github.repository }}
96
+ run : |
97
+ python3 -m tagging.apps.write_manifest \
98
+ --registry ${{ env.REGISTRY }} \
99
+ --owner ${{ env.OWNER }} \
100
+ --image ${{ inputs.image }} \
101
+ --variant ${{ inputs.variant }} \
102
+ --hist-lines-dir /tmp/jupyter/hist_lines/ \
103
+ --manifests-dir /tmp/jupyter/manifests/ \
104
+ --repository ${{ github.repository }}
105
105
shell : bash
106
106
- name : Upload manifest file 💾
107
107
uses : actions/upload-artifact@v4
@@ -119,7 +119,9 @@ jobs:
119
119
- name : Save image as a tar for later use 💾
120
120
run : |
121
121
mkdir -p /tmp/jupyter/images/
122
- docker save ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ inputs.image }} | zstd > /tmp/jupyter/images/${{ inputs.image }}-${{ inputs.platform }}-${{ inputs.variant }}.tar.zst
122
+ docker save \
123
+ ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ inputs.image }} \
124
+ | zstd > /tmp/jupyter/images/${{ inputs.image }}-${{ inputs.platform }}-${{ inputs.variant }}.tar.zst
123
125
shell : bash
124
126
- name : Upload image as artifact 💾
125
127
uses : actions/upload-artifact@v4
@@ -130,9 +132,9 @@ jobs:
130
132
compression-level : 0
131
133
132
134
- name : Run tests ✅
133
- run : >
134
- python3 -m tests.run_tests
135
- --registry ${{ env.REGISTRY }}
136
- --owner ${{ env.OWNER }}
137
- --image ${{ inputs.image }}
135
+ run : |
136
+ python3 -m tests.run_tests \
137
+ --registry ${{ env.REGISTRY }} \
138
+ --owner ${{ env.OWNER }} \
139
+ --image ${{ inputs.image }}
138
140
shell : bash
0 commit comments