Skip to content

Commit f576b12

Browse files
Tom LarkworthyTom Larkworthy
authored andcommitted
Add latest tag
1 parent 51ab8fc commit f576b12

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/dockerhub.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@ jobs:
1818
- name: Checkout repository
1919
uses: actions/checkout@v3
2020

21-
- name: Log in to the Container registry
21+
- name: Log in to Docker Hub
2222
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
2323
with:
24-
registry: ${{ env.REGISTRY }}
25-
username: ${{ github.actor }}
26-
password: ${{ secrets.GITHUB_TOKEN }}
24+
username: ${{ secrets.DOCKER_USERNAME }}
25+
password: ${{ secrets.DOCKER_PASSWORD }}
2726

2827
- name: Extract metadata (tags, labels) for Docker
2928
id: meta
@@ -37,4 +36,6 @@ jobs:
3736
context: .
3837
push: true
3938
tags: ${{ steps.meta.outputs.tags }}
40-
labels: ${{ steps.meta.outputs.labels }}
39+
labels: ${{ steps.meta.outputs.labels }}
40+
- name: Run latest-tag
41+
uses: EndBug/latest-tag@latest

0 commit comments

Comments
 (0)