container-bases: update to rockylinux9 #22
Workflow file for this run
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-operator | |
on: | |
pull_request: [] | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# catalog and bundle were removed, nobody using | |
command: [docker] | |
name: make and build ${{ matrix.command }} | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ^1.23 | |
- name: GHCR Login | |
if: (github.event_name != 'pull_request') | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build Container | |
run: make ${{ matrix.command }}-build | |
- name: Deploy Container | |
if: (github.event_name != 'pull_request') | |
run: make ${{ matrix.command }}-push |