Skip to content

Commit bc3b8b3

Browse files
committed
use hpccm to create container
1 parent 68a6c57 commit bc3b8b3

File tree

3 files changed

+15
-414
lines changed

3 files changed

+15
-414
lines changed

.github/workflows/build_ci_image.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ jobs:
4848
uses: docker/metadata-action@v5
4949
with:
5050
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
51+
- name: Install hpccm
52+
run: |
53+
python3 -m pip install hpccm
54+
- name: Recipe to Dockerfile
55+
run: |
56+
hpccm --recipe ./ci/hpccm_recipe_almalinux9.py >./Dockerfile
5157
# This step uses the `docker/build-push-action` action to build the
5258
# image, based on your repository's `Dockerfile`. If the build succeeds,
5359
# it pushes the image to GitHub Packages. It uses the `context`
@@ -63,7 +69,6 @@ jobs:
6369
with:
6470
context: .
6571
push: true
66-
file: ./ci/Dockerfile.almalinux9
6772
tags: ${{ steps.meta.outputs.tags }}
6873
labels: ${{ steps.meta.outputs.labels }}
6974

0 commit comments

Comments
 (0)