File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ permissions:
55
66on :
77 push :
8- branches :
9- - main
8+ # branches:
9+ # - main
1010 paths :
1111 - .github/workflows/build-ci-container-windows.yml
1212 - ' .github/workflows/containers/github-action-ci-windows/**'
1717
1818jobs :
1919 build-ci-container-windows :
20- if : github.repository_owner == 'llvm'
20+ # if: github.repository_owner == 'llvm'
2121 runs-on : windows-2022
2222 outputs :
2323 container-name : ${{ steps.vars.outputs.container-name }}
@@ -51,11 +51,11 @@ jobs:
5151 retention-days : 14
5252
5353 push-ci-container :
54- # if: github.event_name == 'push'
54+ if : github.event_name == 'push'
5555 needs :
5656 - build-ci-container-windows
57- # permissions:
58- # packages: write
57+ permissions :
58+ packages : write
5959 runs-on : ubuntu-24.04
6060 env :
6161 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6868 run : |
6969 sudo apt-get update
7070 sudo apt-get install -y skopeo
71- # skopeo login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io
71+ skopeo login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io
7272 skopeo copy docker-archive:${{ needs.build-ci-container-windows.outputs.container-filename }} \
7373 --dest-compress-format zstd \
74- oci:/tmp/blah.tar
75- #docker://${{ needs.build-ci-container-windows.outputs.container-name-tag }}
74+ docker://${{ needs.build-ci-container-windows.outputs.container-name-tag }}
75+ skopeo copy docker-archive:${{ needs.build-ci-container-windows.outputs.container-filename }} \
76+ --dest-compress-format zstd \
77+ docker://${{ needs.build-ci-container-windows.outputs.container-name }}:latest
You can’t perform that action at this time.
0 commit comments