From 92c3856dc0f8c4775bad0025babf038c17b6cafe Mon Sep 17 00:00:00 2001 From: Benjamin Ye Date: Wed, 3 Apr 2024 20:49:04 -0400 Subject: [PATCH] change tags to be the release version --- .github/workflows/publish_to_ghcr.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish_to_ghcr.yml b/.github/workflows/publish_to_ghcr.yml index 74ee78b..a363455 100644 --- a/.github/workflows/publish_to_ghcr.yml +++ b/.github/workflows/publish_to_ghcr.yml @@ -20,15 +20,9 @@ jobs: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Extract metadata (tags, labels) for Docker - id: meta - uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 - with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - - name: Build and push Docker image + - name: Build and push Docker image uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 with: context: . push: true - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} + tags: ${{ github.ref_name }}