Skip to content

Commit

Permalink
Move docker action to lsst-dm/build-and-push
Browse files Browse the repository at this point in the history
  • Loading branch information
roceb committed Aug 14, 2024
1 parent d98e82d commit fa47248
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=raw,value=latest,enable=${{ github.ref_name == 'master' }}
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr,suffix=/${{ github.head_ref }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- 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
Expand Down

0 comments on commit fa47248

Please sign in to comment.