File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77jobs :
88 build-images :
99 runs-on : ubuntu-24.04
10+ strategy :
11+ fail-fast : true
12+ matrix :
13+ FLAVOR :
14+ - base
15+ - datascience
16+ FRONTEND :
17+ - jupyterlab
18+ - vscodium
1019 steps :
1120 - uses : actions/checkout@v4
1221 - name : Login to GitHub Container Registry
2332 id : meta
2433 uses : docker/metadata-action@v5
2534 with :
26- images : ${{ env.DOCKER_PREFIX }}/py-vscode
35+ images : ${{ env.DOCKER_PREFIX }}/py-${{matrix.FLAVOR}-${{matrix.FRONTEND}}
2736 tags : |
28- type=sha
37+ type=sha,prefix=
38+ type=raw,value=latest
2939 - uses : buildpacks/github-actions/setup-pack@v5.0.0
3040 - name : Build image
31- run : pack build ${{ env.DOCKER_PREFIX }}/py-vscode -p global-images/base/ --builder ghcr.io/swissdatasciencecenter/renku-frontend-buildpacks/selector:0.0.6 --run-image ghcr.io/swissdatasciencecenter/renku-frontend-buildpacks/base-image:0.0.6 --env BP_RENKU_FRONTENDS=jupyterlab
41+ run : |
42+ tags=$(echo "${{ steps.meta.outputs.tags }}" | tr '\n' ',')
43+ tags=${tags::-1}
44+ echo "tags = $tags"
45+ pack build \
46+ ${{ env.DOCKER_PREFIX }}/py-${{matrix.FLAVOR}}-${{matrix.FRONTEND}}:latest \
47+ -p global-images/base/ \
48+ --builder ghcr.io/swissdatasciencecenter/renku-frontend-buildpacks/selector:0.0.6 \
49+ --run-image ghcr.io/swissdatasciencecenter/renku-frontend-buildpacks/base-image:0.0.6 \
50+ --env BP_RENKU_FRONTENDS=jupyterlab --tag $tags
You can’t perform that action at this time.
0 commit comments