From a73427f55e166afb1f51dccf07c5034e1d9e770c Mon Sep 17 00:00:00 2001 From: Harshal Sheth Date: Wed, 2 Oct 2024 10:15:42 -0700 Subject: [PATCH] fix: fix publishing for slim head --- .github/workflows/datahub-actions-docker.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/datahub-actions-docker.yml b/.github/workflows/datahub-actions-docker.yml index 988d387d..94fc550b 100644 --- a/.github/workflows/datahub-actions-docker.yml +++ b/.github/workflows/datahub-actions-docker.yml @@ -63,7 +63,7 @@ jobs: needs: setup steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Docker meta id: docker_meta uses: docker/metadata-action@v5 @@ -105,11 +105,13 @@ jobs: id: docker_meta_slim uses: docker/metadata-action@v5 with: + # The slim images use a totally separate image name, so we don't need to + # suffix the tags with -slim. images: | acryldata/datahub-actions-slim tags: | type=raw,value=${{ needs.setup.outputs.unique_tag }} - type=raw,value=head,enable={{is_default_branch}} + type=raw,value=${{ needs.setup.outputs.tracking_tag }},enable=${{ needs.setup.outputs.tracking_tag != '' }} - name: Set up QEMU (slim) if: ${{ needs.setup.outputs.publish == 'true' }} uses: docker/setup-qemu-action@v2