1
0
mirror of synced 2025-11-06 05:10:37 +08:00

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 4698eea6e3
commit f36778f5da

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