Skip to content

Commit

Permalink
build: Update nix docker image builder command
Browse files Browse the repository at this point in the history
  • Loading branch information
bow committed Jul 22, 2024
1 parent 5248b3f commit 0724e60
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,14 @@ jobs:
run: nix develop --command poetry dynamic-versioning

- name: Build and push image to registry
run: |
nix build .#dockerArchiveStreamer && ./result
run: >
nix build .#dockerArchiveStreamer
&& ./result
| gzip --fast
| skopeo copy
--dest-creds ${{ github.repository_owner }}:${{ secrets.GITHUB_TOKEN }}
docker-archive:/dev/stdin
docker://ghcr.io/${{ github.repository }}
--dest-creds ${{ github.repository_owner }}:${{ secrets.GITHUB_TOKEN }}
docker-archive:/dev/stdin
docker://ghcr.io/${{ github.repository }}
pub-docs:
name: Publish documentation
Expand Down

0 comments on commit 0724e60

Please sign in to comment.