Skip to content

Commit c9792f5

Browse files
committed
Merge branch 'main' into dev
2 parents 8830d88 + 5709213 commit c9792f5

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
tags:
99
- "dev"
1010

11+
env:
12+
RELEASE_TAG: dev
13+
1114
jobs:
1215
push_to_registry:
1316
name: Push Docker image to Docker hub
@@ -30,14 +33,14 @@ jobs:
3033
- name: Build action image
3134
run: make docker-build
3235
env:
33-
IMAGE_TAG: "docker.io/botsudo/action-doctum:latest"
36+
IMAGE_TAG: "docker.io/botsudo/action-doctum:${{ env.RELEASE_TAG }}"
3437
PLATFORM: "linux/amd64,linux/ppc64le,linux/s390x,linux/386,linux/arm/v7,linux/arm/v6,linux/arm64/v8,linux/riscv64"
3538
ACTION: push
3639

3740
- name: Sign the manifest
3841
uses: sudo-bot/action-docker-sign@latest
3942
with:
40-
image-ref: "docker.io/botsudo/action-doctum:latest"
43+
image-ref: "docker.io/botsudo/action-doctum:${{ env.RELEASE_TAG }}"
4144
private-key-id: "${{ vars.DOCKER_PRIVATE_KEY_ID }}"
4245
private-key-name: "${{ vars.DOCKER_PRIVATE_KEY_NAME }}"
4346
private-key: ${{ secrets.DOCKER_PRIVATE_KEY }}

0 commit comments

Comments
 (0)