Skip to content

Commit

Permalink
Use single-component names
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew-Whitlock committed Nov 13, 2024
1 parent 88f3b58 commit 96d5f6e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
bootstrap:
image: "local/bootstrap"
image: "bootstrap"
build:
dockerfile_inline: |
FROM spack/ubuntu-jammy:latest
Expand All @@ -19,13 +19,13 @@ services:
- .github/:/configs

env:
image: "sandialabs/fenix/env"
image: "env"
build:
# Generated by running the bootstrap image
dockerfile: .github/spack.Dockerfile

fenix:
image: "local/fenix"
image: "fenix"
build:
dockerfile_inline: |
ARG OMPI_VERSION
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,26 @@ jobs:
targets: bootstrap
workdir: .
set: |
*.output=type=docker,name=local/bootstrap/${{ matrix.ompi_version }}
*.output=type=docker,name=bootstrap
*.cache-from=type=gha,scope=local/bootstrap/${{ matrix.ompi_version }}
*.cache-to=type=gha,mode=max,scope=local/bootstrap
*.cache-to=type=gha,mode=max,scope=local/bootstrap/${{ matrix.ompi_version }}
*.args.OMPI_VERSION=${{ matrix.ompi_version }}
- name: Bootstrap the environment Dockerfile
run: docker run -v ${GITHUB_WORKSPACE}/.github:/configs local/bootstrap
run: docker run -v ${GITHUB_WORKSPACE}/.github:/configs bootstrap

- name: Build the environment
uses: docker/bake-action@v5
with:
files: .github/docker-compose.yml
targets: sandialabs/fenix/env
targets: env
workdir: .
pull: true
push: true
set: |
*.cache-from=type=gha,scope=local/env/${{ matrix.ompi_version }}
*.cache-to=type=gha,mode=max,scope=local/env/${{ matrix.ompi_version }}
*.output=type=docker,name=ghcr.io/sandialabs/fenix/env:${{ matrix.ompi_version }}
*.cache-from=type=gha,scope=env/${{ matrix.ompi_version }}
*.cache-to=type=gha,mode=max,scope=env/${{ matrix.ompi_version }}
*.output=type=image,name=ghcr.io/sandialabs/fenix/env:${{ matrix.ompi_version }}
- name: Build Fenix
uses: docker/bake-action@v5
Expand Down

0 comments on commit 96d5f6e

Please sign in to comment.