diff --git a/.github/workflows/build-geth-node.yaml b/.github/workflows/build-geth-node.yaml index fd6db7f..b77ab48 100644 --- a/.github/workflows/build-geth-node.yaml +++ b/.github/workflows/build-geth-node.yaml @@ -53,6 +53,10 @@ jobs: id: tag_sha run: echo "tag=${{ steps.ghcr_repo.outputs.path }}:${{ steps.commit_sha.outputs.short }}" >> $GITHUB_OUTPUT + - name: Manually generate head tag + id: tag_head + run: echo "tag=${{ steps.ghcr_repo.outputs.path }}:head" >> $GITHUB_OUTPUT + - name: Manually generate ver tag if: ${{ startsWith(github.ref, 'refs/tags/') }} id: tag_ver @@ -67,6 +71,7 @@ jobs: push: true tags: | ${{ steps.tag_sha.outputs.tag }} + ${{ steps.tag_head.outputs.tag }} labels: ${{ steps.meta.outputs.labels }} - name: Create and push a manifest with ver referencing latest commit @@ -74,5 +79,5 @@ jobs: run: | docker buildx imagetools create \ -t ${{ steps.tag_ver.outputs.tag }} \ - ${{ steps.tag_sha.outputs.tag }} + ${{ steps.tag_head.outputs.tag }} diff --git a/.github/workflows/build-sgx-dev.yaml b/.github/workflows/build-sgx-dev.yaml index c2efb42..ceb14f2 100644 --- a/.github/workflows/build-sgx-dev.yaml +++ b/.github/workflows/build-sgx-dev.yaml @@ -54,6 +54,10 @@ jobs: id: tag_sha run: echo "tag=${{ steps.ghcr_repo.outputs.path }}:${{ steps.commit_sha.outputs.short }}" >> $GITHUB_OUTPUT + - name: Manually generate head tag + id: tag_head + run: echo "tag=${{ steps.ghcr_repo.outputs.path }}:head" >> $GITHUB_OUTPUT + - name: Manually generate ver tag if: ${{ startsWith(github.ref, 'refs/tags/') }} id: tag_ver @@ -68,6 +72,7 @@ jobs: push: true tags: | ${{ steps.tag_sha.outputs.tag }} + ${{ steps.tag_head.outputs.tag }} labels: ${{ steps.meta.outputs.labels }} - name: Create and push a manifest with ver referencing latest commit @@ -75,7 +80,7 @@ jobs: run: | docker buildx imagetools create \ -t ${{ steps.tag_ver.outputs.tag }} \ - ${{ steps.tag_sha.outputs.tag }} + ${{ steps.tag_head.outputs.tag }} build_sgx_sol_dev: @@ -119,6 +124,10 @@ jobs: id: tag_sha run: echo "tag=${{ steps.ghcr_repo.outputs.path }}:${{ steps.commit_sha.outputs.short }}" >> $GITHUB_OUTPUT + - name: Manually generate head tag + id: tag_head + run: echo "tag=${{ steps.ghcr_repo.outputs.path }}:head" >> $GITHUB_OUTPUT + - name: Manually generate ver tag if: ${{ startsWith(github.ref, 'refs/tags/') }} id: tag_ver @@ -135,6 +144,7 @@ jobs: push: true tags: | ${{ steps.tag_sha.outputs.tag }} + ${{ steps.tag_head.outputs.tag }} labels: ${{ steps.meta.outputs.labels }} - name: Create and push a manifest with ver referencing latest commit @@ -142,5 +152,5 @@ jobs: run: | docker buildx imagetools create \ -t ${{ steps.tag_ver.outputs.tag }} \ - ${{ steps.tag_sha.outputs.tag }} + ${{ steps.tag_head.outputs.tag }}