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

Commit 1ae614e

Browse files
authored
Update docker-publish.yml
1 parent 5b65873 commit 1ae614e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/docker-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
- name: Check out the repo
1818
uses: actions/checkout@v2
1919

20+
- name: Set env
21+
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
22+
2023
- name: Log in to Docker Hub
2124
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
2225
with:
@@ -28,4 +31,4 @@ jobs:
2831
with:
2932
context: .
3033
push: true
31-
tags: deniceg/pipeline-tools:${GITHUB_REF#refs/*/},deniceg/pipeline-tools:latest
34+
tags: deniceg/pipeline-tools:${{ env.RELEASE_VERSION }},deniceg/pipeline-tools:latest

0 commit comments

Comments
 (0)