Skip to content

Commit

Permalink
more artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Huber <[email protected]>
  • Loading branch information
maxhbr committed Mar 14, 2024
1 parent 76bc055 commit 5cbf951
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ jobs:
sed -i 's/[email protected]:/https:\/\/gitlab.com\//g' .gitmodules
git submodule sync --recursive || true
git submodule update --init --recursive || true
- uses: actions/upload-artifact@v4
with:
name: data
path: data
compression-level: 6
retention-days: 90

- uses: cachix/install-nix-action@v25
with:
Expand All @@ -61,16 +68,25 @@ jobs:
podman tag "$tag" "ghcr.io/maxhbr/ldbcollector:latest"
podman push "ghcr.io/maxhbr/ldbcollector:latest"
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: ldbcollector.tar.gz
path: ldbcollector.tar.gz
compression-level: 0
retention-days: 90

- name: 'Add data and push Image'
run: |
./.github/workflows/docker-add-data-to-img.sh "$(readlink -f data)" "ghcr.io/maxhbr/ldbcollector:latest" "ghcr.io/maxhbr/ldbcollector-with-data:latest"
podman push "ghcr.io/maxhbr/ldbcollector-with-data:latest"
podman save -o ldbcollector-with-data.tar.gz "ghcr.io/maxhbr/ldbcollector-with-data:latest"
- uses: actions/upload-artifact@v4
with:
name: ldbcollector-with-data.tar.gz
path: ldbcollector-with-data.tar.gz
compression-level: 0
retention-days: 30

# cabal:
# name: Build via Cabal
Expand Down

0 comments on commit 5cbf951

Please sign in to comment.