chore: Update Dockerfile to use GitHub Container Registry for image build and push

This commit is contained in:
Anduin 2024-06-03 12:22:06 +00:00
parent 9f3531a953
commit a69bd83e14
No known key found for this signature in database
GPG Key ID: D33FA9407A6BE728

View File

@ -54,5 +54,4 @@ jobs:
- name: Build the hello-world Docker image - name: Build the hello-world Docker image
run: | run: |
docker build . --tag ghcr.io/anduin2017/how-to-cook:latest docker build . --tag ghcr.io/anduin2017/how-to-cook:latest
docker run ghcr.io/anduin2017/how-to-cook:latest
docker push ghcr.io/anduin2017/how-to-cook:latest docker push ghcr.io/anduin2017/how-to-cook:latest