Adding more slurm configs integrating the shared storage #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Slurm Container Images | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build-images: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build image - munge | |
run: | | |
docker build --build-arg MUNGE_VERSION=0.5.15 slurm/images/munge --tag ghcr.io/${{ github.repository }}:munge-latest | |
docker push ghcr.io/${{ github.repository }}:munge-latest | |
- name: Build image - slurm | |
run: | | |
docker build --build-arg SLURM_VERSION=23.02.4 slurm/images/slurm --tag ghcr.io/${{ github.repository }}:slurm-latest | |
docker push ghcr.io/${{ github.repository }}:slurm-latest | |
- name: Build image - login | |
run: | | |
docker build slurm/images/login --tag ghcr.io/${{ github.repository }}:login-latest | |
docker push ghcr.io/${{ github.repository }}:login-latest |