From fa472481a0ec4346a55f34eae4f8f3f577a432c8 Mon Sep 17 00:00:00 2001 From: Ross Ceballo Date: Tue, 13 Aug 2024 20:47:38 -0400 Subject: [PATCH] Move docker action to lsst-dm/build-and-push --- .github/workflows/build.yaml | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f1ef40f..3a07f80 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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