We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4637a0d commit 64a0e23Copy full SHA for 64a0e23
.github/workflows/build-stack.yaml
@@ -60,5 +60,14 @@ jobs:
60
run: |
61
pip install --upgrade build
62
python -m build
63
- podman build . -f build/Containerfile -t imagename
64
+ - name: Login to ghcr.io
65
+ run: podman login --username ${{ github.repository_owner }} --password ${{ secrets.GITHUB_TOKEN }} ghcr.io
66
+
67
+ - name: Publish Image
68
+ id: publish-image
69
+ run: |
70
+ IMAGE_NAME=ghcr.io/${{ github.repository_owner }}/podman-ai-lab-stack
71
+ IMAGE_SHA=${IMAGE_NAME}:${GITHUB_SHA}
72
+ podman build . -f build/Containerfile -t $IMAGE_SHA
73
+ podman push $IMAGE_SHA
0 commit comments