Skip to content

Commit

Permalink
renaming minimal to externals
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico Meloni committed Jan 4, 2025
1 parent db7e349 commit 7301781
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Re-build and publish Minimal
on:
push:
paths:
- '.github/workflows/minimal-rebuild.yml'
- 'AlmaLinux9/Dockerfile-minimal'
- '.github/workflows/externals-rebuild.yml'
- 'AlmaLinux9/Dockerfile-externals'
workflow_dispatch:

env:
Expand All @@ -17,13 +17,13 @@ permissions:
attestations: write

jobs:
build-minimal:
build-externals:
runs-on: ubuntu-latest
strategy:
matrix:
os: [{dir: AlmaLinux9,suffix: alma9}]
env:
IMAGE_NAME: mucoll-minimal
IMAGE_NAME: mucoll-externals
steps:
- name: Free Disk Space (Ubuntu)
uses: endersonmenezes/free-disk-space@v2
Expand Down Expand Up @@ -65,15 +65,15 @@ jobs:
with:
push: true
context: ./${{matrix.os.dir}}
file: ./${{matrix.os.dir}}/Dockerfile-minimal
file: ./${{matrix.os.dir}}/Dockerfile-externals
build-args: |
VERSION=${{ steps.meta.outputs.version }}
REPOSITORY=${{ env.REGISTRY }}/${{env.OWNER_LC}}
tags: ${{ env.REGISTRY }}/${{env.OWNER_LC}}/${{ env.IMAGE_NAME}}:${{steps.meta.outputs.version}}-${{matrix.os.suffix}}
labels: ${{ steps.meta.outputs.labels }}
build-sim:
runs-on: ubuntu-latest
needs: build-minimal
needs: build-externals
strategy:
matrix:
os: [{dir: AlmaLinux9,suffix: alma9}]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/full-rebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ jobs:
REPOSITORY=${{ env.REGISTRY }}/${{env.OWNER_LC}}
tags: ${{ env.REGISTRY }}/${{env.OWNER_LC}}/${{ env.IMAGE_NAME}}:${{steps.meta.outputs.version}}-${{matrix.os.suffix}}
labels: ${{ steps.meta.outputs.labels }}
build-minimal:
build-externals:
runs-on: ubuntu-latest
needs: build-spack
strategy:
matrix:
os: [{dir: AlmaLinux9,suffix: alma9}]
env:
IMAGE_NAME: mucoll-minimal
IMAGE_NAME: mucoll-externals
steps:
- name: Free Disk Space (Ubuntu)
uses: endersonmenezes/free-disk-space@v2
Expand Down Expand Up @@ -107,15 +107,15 @@ jobs:
with:
push: true
context: ./${{matrix.os.dir}}
file: ./${{matrix.os.dir}}/Dockerfile-minimal
file: ./${{matrix.os.dir}}/Dockerfile-externals
build-args: |
VERSION=${{ steps.meta.outputs.version }}
REPOSITORY=${{ env.REGISTRY }}/${{env.OWNER_LC}}
tags: ${{ env.REGISTRY }}/${{env.OWNER_LC}}/${{ env.IMAGE_NAME}}:${{steps.meta.outputs.version}}-${{matrix.os.suffix}}
labels: ${{ steps.meta.outputs.labels }}
build-sim:
runs-on: ubuntu-latest
needs: build-minimal
needs: build-externals
strategy:
matrix:
os: [{dir: AlmaLinux9,suffix: alma9}]
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion AlmaLinux9/Dockerfile-sim
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

ARG VERSION=master
ARG IMAGE=madbaron
FROM ${IMAGE}/mucoll-minimal:${VERSION}-alma9
FROM ${IMAGE}/mucoll-externals:${VERSION}-alma9

ARG MUCOLL_SHA=1c4ba29cebeb3e9744626ffc0d04e6ac3f22265e
ARG REPOSITORY=madbaron/mucoll-spack
Expand Down

0 comments on commit 7301781

Please sign in to comment.