Skip to content

Commit 0dbf0d4

Browse files
committed
Modify Docker versions workflow
The workflow now uses the default tags as they include the version and latest.
1 parent 46c0086 commit 0dbf0d4

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/docker-versions.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ jobs:
4545
- name: Checkout repository to build machine
4646
uses: actions/checkout@v2
4747

48-
- name: Set tag as output variable
49-
id: vars
50-
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
51-
5248
- name: Log in to the ghcr.io
5349
uses: docker/login-action@v2
5450
with:
@@ -72,7 +68,7 @@ jobs:
7268
context: .
7369
file: ./Dockerfile
7470
push: true
75-
tags: ${{ steps.vars.outputs.tag }}
71+
tags: ${{ steps.meta_dockerhub.outputs.tags }}
7672
labels: ${{ steps.meta_ghcr.outputs.labels }}
7773

7874
docker-build-hub:
@@ -111,10 +107,6 @@ jobs:
111107
- name: Checkout repository to build machine
112108
uses: actions/checkout@v2
113109

114-
- name: Set tag as output variable
115-
id: vars
116-
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
117-
118110
- name: Log in to Docker Hub
119111
uses: docker/login-action@v2
120112
with:
@@ -133,5 +125,5 @@ jobs:
133125
context: .
134126
file: ./Dockerfile
135127
push: true
136-
tags: ${{ steps.vars.outputs.tag }}
128+
tags: ${{ steps.meta_dockerhub.outputs.tags }}
137129
labels: ${{ steps.meta_dockerhub.outputs.labels }}

0 commit comments

Comments
 (0)