From 90af90e29ad6cd971793b5d2b23bfa18488efa65 Mon Sep 17 00:00:00 2001 From: Seth For Privacy <40500387+sethforprivacy@users.noreply.github.com> Date: Wed, 19 Feb 2025 15:29:20 -0500 Subject: [PATCH] Fix p2pool version tag images --- .github/workflows/update-image-on-push.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-image-on-push.yml b/.github/workflows/update-image-on-push.yml index c57895d..1f775ae 100644 --- a/.github/workflows/update-image-on-push.yml +++ b/.github/workflows/update-image-on-push.yml @@ -37,9 +37,6 @@ jobs: with: images: | ${{ env.GHCR_REPO }} - - - name: Get p2pool release tag - run: echo P2POOL_TAG="$(awk -F '=' '/P2POOL_BRANCH=/ {print $2}' Dockerfile)" >> $GITHUB_ENV - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3.9.0 @@ -99,6 +96,12 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3.9.0 + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Get p2pool release tag + run: echo P2POOL_TAG="$(awk -F '=' '/P2POOL_BRANCH=/ {print $2}' Dockerfile)" >> $GITHUB_ENV + - name: Docker meta id: meta uses: docker/metadata-action@v5 @@ -108,7 +111,7 @@ jobs: tags: | type=sha type=raw,value=latest,enable={{is_default_branch}} - type=semver,pattern={{version}},value=${{ env.P2POOL_TAG }} + type=raw,value=${{ env.P2POOL_TAG }} - name: Create manifest list and push working-directory: ${{ runner.temp }}/digests