Attempt to push to git registry
This commit is contained in:
parent
b2be89e318
commit
69f73ce047
|
@ -66,7 +66,10 @@ jobs:
|
|||
run: |
|
||||
nix-env -i skopeo -f '<nixpkgs>'
|
||||
wget https://raw.githubusercontent.com/containers/skopeo/main/default-policy.json && mkdir /etc/containers && mv default-policy.json /etc/containers/policy.json
|
||||
skopeo copy docker-archive:result docker://icr.gmem.ca/dref:latest
|
||||
skopeo login --username arch --password $REGISTRY_TOKEN
|
||||
skopeo copy docker-archive:result docker://git.gmem.ca/arch/dref:latest
|
||||
env:
|
||||
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
arm-docker-build:
|
||||
needs: nix-flake-check
|
||||
|
@ -101,4 +104,7 @@ jobs:
|
|||
run: |
|
||||
nix-env -i skopeo -f '<nixpkgs>'
|
||||
wget https://raw.githubusercontent.com/containers/skopeo/main/default-policy.json && mkdir /etc/containers && mv default-policy.json /etc/containers/policy.json
|
||||
skopeo copy docker-archive:result docker://icr.gmem.ca/dref:arm
|
||||
skopeo login --username arch --password $REGISTRY_TOKEN
|
||||
skopeo copy docker-archive:result docker://git.gmem.ca/arch/dref:arm
|
||||
env:
|
||||
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue