Skip to content

Commit

Permalink
Merge pull request #17 from lsst-dm/tickets/DM-45810
Browse files Browse the repository at this point in the history
DM-45810: Add build and push so that we can build arm64
  • Loading branch information
roceb authored Aug 20, 2024
2 parents abab4ca + d48cdd6 commit 4d3f9a3
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,13 @@ 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:
github_token: ${{ secrets.GITHUB_TOKEN }}
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/${{ github.repository }}:${{ matrix.rhel }}-${{ inputs.base_tag }}-${{ inputs.rubin_env }}
file: Dockerfile
tag: ${{ 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 4d3f9a3

Please sign in to comment.