Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 1a6d5a0

Browse files
authored
Merge pull request #262 from binary-com/ako/use-ref-name
Ako/ use ref_name instead of sha1
2 parents d9b235c + 4934d60 commit 1a6d5a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release_production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: ./.github/actions/publish_to_docker
3838
with:
3939
DOCKER_LATEST_IMAGE_TAG: 'latest'
40-
DOCKER_IMAGE_TAG: ${{ secrets.SHA1 }}
40+
DOCKER_IMAGE_TAG: ${{ github.ref_name }}
4141
DOCKERHUB_ORGANISATION: ${{ secrets.DOCKERHUB_ORGANISATION }}
4242
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
4343
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}

.github/workflows/release_staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: ./.github/actions/publish_to_docker
3131
with:
3232
DOCKER_LATEST_IMAGE_TAG: 'latest-staging'
33-
DOCKER_IMAGE_TAG: ${{ secrets.SHA1 }}
33+
DOCKER_IMAGE_TAG: ${{ github.ref_name }}
3434
DOCKERHUB_ORGANISATION: ${{ secrets.DOCKERHUB_ORGANISATION }}
3535
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
3636
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}

0 commit comments

Comments
 (0)