mirror of
https://github.com/tmdinosaurcenter/kiosk-guestbook.git
synced 2025-04-23 12:22:26 -06:00
Push the Docker image to Docker Hub
This commit is contained in:
parent
61a45200a5
commit
c1f9ab05b4
6
.github/workflows/docker-image.yml
vendored
6
.github/workflows/docker-image.yml
vendored
@ -25,4 +25,8 @@ jobs:
|
|||||||
docker build . --file Dockerfile --tag $IMAGE_TAG
|
docker build . --file Dockerfile --tag $IMAGE_TAG
|
||||||
echo "IMAGE_TAG=$IMAGE_TAG" >> $GITHUB_ENV
|
echo "IMAGE_TAG=$IMAGE_TAG" >> $GITHUB_ENV
|
||||||
# Uncomment below to push the image to Docker Hub (or another registry)
|
# Uncomment below to push the image to Docker Hub (or another registry)
|
||||||
#- name: Push the Docker image
|
- name: Push the Docker image
|
||||||
|
if: github.event_name == 'push'
|
||||||
|
run: |
|
||||||
|
docker tag $IMAGE_TAG snachodog/kiosk-guestbook:latest
|
||||||
|
docker push snachodog/kiosk-guestbook:latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user