Push the Docker image to Docker Hub

This commit is contained in:
Steve Dogiakos 2025-04-04 14:07:11 -06:00
parent 61a45200a5
commit c1f9ab05b4

View File

@ -25,4 +25,8 @@ jobs:
docker build . --file Dockerfile --tag $IMAGE_TAG
echo "IMAGE_TAG=$IMAGE_TAG" >> $GITHUB_ENV
# 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