mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-03-15 12:19:00 +00:00
ci: update devcontainers workflow
Some checks are pending
Build devcontainers / build-devcontainers (push) Waiting to run
Cache outputs / build-custom-packages (push) Waiting to run
Check flake outputs / check-outputs (push) Waiting to run
Publish every Git push to master to FlakeHub / flakehub-publish (push) Waiting to run
Build personalized bootstrap ISO / build-iso (x86_64-linux) (push) Waiting to run
Build project site / build (push) Waiting to run
Build project site / deploy (push) Blocked by required conditions
Some checks are pending
Build devcontainers / build-devcontainers (push) Waiting to run
Cache outputs / build-custom-packages (push) Waiting to run
Check flake outputs / check-outputs (push) Waiting to run
Publish every Git push to master to FlakeHub / flakehub-publish (push) Waiting to run
Build personalized bootstrap ISO / build-iso (x86_64-linux) (push) Waiting to run
Build project site / build (push) Waiting to run
Build project site / deploy (push) Blocked by required conditions
This commit is contained in:
parent
cedc85e1ab
commit
9f2e62f476
8
.github/workflows/build-devcontainers.yml
vendored
8
.github/workflows/build-devcontainers.yml
vendored
@ -21,8 +21,10 @@ jobs:
|
|||||||
NIXPKGS_ALLOW_UNFREE: "1"
|
NIXPKGS_ALLOW_UNFREE: "1"
|
||||||
- name: Deploy devcontainers to GitHub registry
|
- name: Deploy devcontainers to GitHub registry
|
||||||
run: |
|
run: |
|
||||||
|
echo "${{ secrets.GITHUB_TOKEN }}" | skopeo login ghcr.io -u ${{ github.actor }} --password-stdin
|
||||||
|
|
||||||
for image_archive in $(< build_paths); do
|
for image_archive in $(< build_paths); do
|
||||||
skopeo --insecure-policy copy \
|
CONTAINER_TAG=$(echo $image_archive | awk 'match($0, /docker-image-(\S+).tar.gz/, arr) {print arr[1]}')
|
||||||
--dest-creds="${{ github.repository_owner }}:${{ secrets.GITHUB_TOKEN }}" \
|
skopeo copy \
|
||||||
"docker-archive:${image_archive}" "docker://${{ github.repository }}"
|
"docker-archive:${image_archive}" "docker://ghcr.io/${{ github.repository }}:${CONTAINER_TAG}"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user