Skip to content

Commit

Permalink
.github: workflows: build: Upload Docker image artifacts generated by…
Browse files Browse the repository at this point in the history
… Guix.
  • Loading branch information
zimoun committed Jul 3, 2023
1 parent 77848de commit 322e17a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -27,3 +27,18 @@ jobs:
- name: Rebuild environment for checking
working-directory: sources
run: guix time-machine -C channels.scm -- shell -C -m manifest.scm -- python3 --version
- name: Build GEERTS environment
working-directory: GEERTS-reproduction
run: guix time-machine -C channels.scm -- shell -C -m manifest.scm -- python3 --version
- name: Create artifact
run: |
mkdir -p artifacts
cd sources
cp $(guix time-machine -C channels.scm -- pack -f docker --save-provenance -m manifest.scm) ../artifacts/docker-load-sources.tar.gz
cd ../GEERTS-reproduction
cp $(guix time-machine -C channels.scm -- pack -f docker --save-provenance -m manifest.scm) ../artifacts/docker-load-GEERTS.tar.gz
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: docker-images
path: artifacts/

0 comments on commit 322e17a

Please sign in to comment.