Skip to content

Commit db29225

Browse files
Fix tagging
1 parent 018dd77 commit db29225

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/actions/push-digests/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ runs:
2828
uses: docker/setup-buildx-action@v3
2929
- name: Log in to container registry.
3030
if: ${{ inputs.registry == 'ghcr.io' }}
31-
uses: FhenixProtocol/actions/.github/actions/registry-login@v1.0.0
31+
uses: FhenixProtocol/actions/.github/actions/registry-login@v1
3232
with:
3333
service_account_key: ${{ inputs.service_account_key }}
3434
registry: ${{ inputs.registry }}
@@ -45,7 +45,7 @@ runs:
4545
run: |
4646
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
4747
echo "TAG=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
48-
elif [[ "${{ github.ref }}" == refs/tags/v* ]]; then
48+
elif [[ "${{ github.ref }}" == refs/tags/* ]]; then
4949
echo "TAG=${{ github.ref_name }}" >> $GITHUB_OUTPUT
5050
elif [[ "${{ github.ref }}" == refs/tags/publish/* ]]; then
5151
TAG="${{ github.ref_name }}"
@@ -59,7 +59,7 @@ runs:
5959
tags: |
6060
type=raw,value=${{ steps.set-tag.outputs.TAG }}
6161
type=sha
62-
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') }}
62+
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
6363
- name: Create manifest list and push
6464
working-directory: ${{ runner.temp }}/digests
6565
shell: bash

.github/workflows/docker_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
uses: docker/setup-buildx-action@v3
6969
- name: Log in to container registry.
7070
if: ${{ inputs.registry == 'ghcr.io' }}
71-
uses: FhenixProtocol/actions/.github/actions/registry-login@v1.0.0
71+
uses: FhenixProtocol/actions/.github/actions/registry-login@v1
7272
with:
7373
service_account_key: ${{ secrets.service_account_key }}
7474
registry: ${{ inputs.registry }}
@@ -107,7 +107,7 @@ jobs:
107107
- build
108108
steps:
109109
- name: Push digests
110-
uses: FhenixProtocol/actions/.github/actions/push-digests@v1.0.0
110+
uses: FhenixProtocol/actions/.github/actions/push-digests@v1
111111
with:
112112
registry: ${{ inputs.registry }}
113113
image_name: "${{ inputs.image_name }}"

0 commit comments

Comments
 (0)