File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change @@ -945,4 +945,33 @@ jobs:
945945 file : ./dockerfiles/alma9-g4.11.3
946946 push : true
947947 tags : ${{ steps.meta.outputs.tags }}
948+ labels : ${{ steps.meta.outputs.labels }}
949+
950+
951+ alma9-apptainer :
952+ name : Push Alma9 apptainer docker image to Docker Hub
953+ runs-on : ubuntu-latest
954+ steps :
955+ - name : Check out the repo
956+ uses : actions/checkout@v4
957+
958+ - name : Log in to Docker Hub
959+ uses : docker/login-action@v3
960+ with :
961+ Username : ${{ vars.BOOGERT_DOCKER_USERNAME }}
962+ password : ${{ secrets.BOOGERT_DOCKER_PASSWORD }}
963+
964+ - name : Extract metadata (tags, labels) for Docker
965+ id : meta
966+ uses : docker/metadata-action@v5
967+ with :
968+ images : bdsim/alma9-apptainer
969+
970+ - name : Build and push Docker image
971+ uses : docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
972+ with :
973+ context : .
974+ file : ./dockerfiles/alma9-apptainer
975+ push : true
976+ tags : ${{ steps.meta.outputs.tags }}
948977 labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change 1+ FROM almalinux:9
2+
3+ WORKDIR /tmp
4+
5+ RUN dnf update -y
6+ RUN dnf groupinstall -y "Development Tools"
7+ RUN dnf install -y wget git go gcc make libseccomp libseccomp-devel squashfs-tools cryptsetup python3
8+
9+ RUN export VER=1.4.2 && \
10+ wget https://github.com/apptainer/apptainer/releases/download/v${VER}/apptainer-${VER}.tar.gz && \
11+ tar zxf apptainer-${VER}.tar.gz && \
12+ cd apptainer-${VER} && \
13+ ./mconfig --with-suid && \
14+ make -C builddir && \
15+ make -C builddir install
You can’t perform that action at this time.
0 commit comments