File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1818 name : Checkout Repository
1919 with :
2020 persist-credentials : false
21+ - uses : docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9
22+ name : Container Registry Login
23+ with :
24+ registry : ghcr.io
25+ username : ${{ github.actor }}
26+ password : ${{ secrets.GITHUB_TOKEN }}
2127
2228 - uses : cachix/install-nix-action@2126ae7fc54c9df00dd18f7f18754393182c73cd
2329 name : Install Nix
2632 - name : Build and Tag Docker Image
2733 env :
2834 PROJECT : ${{ matrix.project }}
29- VERSION : ${{ github.ref }}
30- run : ./${{ matrix.project }}/build
31-
35+ VERSION : latest
36+ run : ./ci/ci
Original file line number Diff line number Diff line change @@ -23,3 +23,5 @@ TAG="ghcr.io/uw-midsun/devcontainers/${PROJECT}:${VERSION}"
2323print_green " \nTagging image as ${TAG} .\n"
2424
2525docker tag $PROJECT :latest $TAG
26+
27+ docker push $TAG $PROJECT :latest
You can’t perform that action at this time.
0 commit comments