Skip to content

Commit

Permalink
Add build and push so that we can build arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
roceb committed Aug 19, 2024
1 parent abab4ca commit a697a57
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: docker/setup-buildx-action@v3
name: Set up Docker Buildx

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v6
uses: lsst-dm/build-and-push@main
with:
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/${{ github.repository }}:${{ matrix.rhel }}-${{ inputs.base_tag }}-${{ inputs.rubin_env }}
file: Dockerfile
tags: ${{ matrix.rhel }}-${{ inputs.base_tag }}-${{ inputs.rubin_env }}
build-args: |
LSST_SPLENV_REF=${{ inputs.rubin_env }}
BASE_IMAGE=ghcr.io/lsst-dm/docker-scipipe:${{ matrix.rhel }}-${{ inputs.base_tag }}
Expand Down

0 comments on commit a697a57

Please sign in to comment.