Push to correct remote image
This commit is contained in:
parent
6ad1d58fbc
commit
0e525432ce
3 changed files with 6 additions and 6 deletions
|
@ -20,6 +20,6 @@ jobs:
|
|||
run: /bin/skopeo login --tls-verify --username ${{ vars.RUNNER_USER }} --password ${{ secrets.RUNNER_TOKEN }} ${GITHUB_SERVER_URL}
|
||||
- name: Push image to container registry
|
||||
run: |
|
||||
/bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}:latest
|
||||
/bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_ACTOR}/atticd:latest
|
||||
gitrev=$(git --git-dir src/.git --work-tree src rev-parse HEAD)
|
||||
/bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}:$gitrev
|
||||
/bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_ACTOR}/atticd:$gitrev
|
||||
|
|
|
@ -19,6 +19,6 @@ jobs:
|
|||
run: /bin/skopeo login --tls-verify --username ${{ vars.RUNNER_USER }} --password ${{ secrets.RUNNER_TOKEN }} ${GITHUB_SERVER_URL}
|
||||
- name: Push image to container registry
|
||||
run: |
|
||||
/bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}:latest
|
||||
/bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_ACTOR}/blog-pim:latest
|
||||
gitrev=$(git --git-dir src/.git --work-tree src rev-parse HEAD)
|
||||
/bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}:$gitrev
|
||||
/bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_ACTOR}/blog-pim:$gitrev
|
||||
|
|
|
@ -19,6 +19,6 @@ jobs:
|
|||
run: /bin/skopeo login --tls-verify --username ${{ vars.RUNNER_USER }} --password ${{ secrets.RUNNER_TOKEN }} ${GITHUB_SERVER_URL}
|
||||
- name: Push image to container registry
|
||||
run: |
|
||||
/bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}:latest
|
||||
/bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_ACTOR}/forgejo-nix-action:latest
|
||||
gitrev=$(git --git-dir src/.git --work-tree src rev-parse HEAD)
|
||||
/bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}:$gitrev
|
||||
/bin/skopeo --insecure-policy copy docker-archive:image docker://${GITHUB_SERVER_URL#https://}/${GITHUB_ACTOR}/forgejo-nix-action:$gitrev
|
||||
|
|
Reference in a new issue