From 516443ed9eebbda87193a1f938102ab8a1693deb Mon Sep 17 00:00:00 2001 From: shocknet-justin Date: Tue, 9 Sep 2025 15:47:25 -0400 Subject: [PATCH] Simplify workflow with hardcoded tags to test Docker push --- .github/workflows/push.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 9f2acbf9..e70e0e3d 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -50,15 +50,15 @@ jobs: context: . file: ./Dockerfile push: true - tags: ${{ steps.meta.outputs.tags }} + tags: | + ghcr.io/${{ github.repository_owner }}/lightning-pub:latest + ghcr.io/${{ github.repository_owner }}/lightning-pub:master labels: ${{ steps.meta.outputs.labels }} - name: Capture image digest id: capture-digest run: | - # Get the first tag from the metadata output - FIRST_TAG=$(echo "${{ steps.meta.outputs.tags }}" | head -n1) - DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' $FIRST_TAG | cut -d'@' -f2) + DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' ghcr.io/${{ github.repository_owner }}/lightning-pub:latest | cut -d'@' -f2) echo "Raw Digest is $DIGEST" echo "digest=$DIGEST" >> $GITHUB_OUTPUT