8000 Update dockerpublish.yml · cqkh42/javascript-exercises@491be58 · GitHub
[go: up one dir, main page]

Skip to content

Commit 491be58

Browse files
authored
Update dockerpublish.yml
1 parent f44a225 commit 491be58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dockerpublish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v2
2222

2323
- name: Build image
24-
run: docker build . --file Dockerfile --tag $IMAGE_NAME
24+
run: docker build . --file Dockerfile --tag $IMAGE_NAME:latest
2525

2626
- name: Log into registry
2727
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
@@ -34,4 +34,4 @@ jobs:
3434
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
3535
3636
echo IMAGE_ID=$IMAGE_ID
37-
docker push $IMAGE_ID
37+
docker push $IMAGE_ID:latest

0 commit comments

Comments
 (0)
0