ci: add Docker Hub push step to workflow

This commit is contained in:
Steve Dogiakos
2025-04-04 14:07:11 -06:00
parent af3ad37b4c
commit 2bbe30e1e0
+5 -1
View File
@@ -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