Skip to content

Commit

Permalink
fix(workflows): Split artifacts per job
Browse files Browse the repository at this point in the history
Signed-off-by: Cezar Craciunoiu <[email protected]>
  • Loading branch information
craciunoiuc committed Apr 17, 2024
1 parent b0cc100 commit 932dc7a
Showing 1 changed file with 36 additions and 7 deletions.
43 changes: 36 additions & 7 deletions .github/workflows/buildenvs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
if: ${{ steps.check-run.outputs.run == 'true' }}
uses: actions/upload-artifact@v4
with:
name: oci-images
name: qemu-oci-image
path: /tmp/qemu-${{ matrix.QEMU_VERSION }}.tar

- name: Push OCI Image
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
if: ${{ steps.check-run.outputs.run == 'true' }}
uses: actions/upload-artifact@v4
with:
name: oci-images
name: myself-oci-image
path: /tmp/myself.tar

- name: Push OCI Image
Expand Down Expand Up @@ -233,7 +233,14 @@ jobs:
if: ${{ steps.check-run.outputs.run == 'true' }}
uses: actions/download-artifact@v4
with:
name: oci-images
name: myself-oci-image
path: /tmp

- name: Download artifacts
if: ${{ steps.check-run.outputs.run == 'true' }}
uses: actions/download-artifact@v4
with:
name: qemu-oci-image
path: /tmp

- name: Load Docker image
Expand All @@ -260,7 +267,7 @@ jobs:
if: ${{ steps.check-run.outputs.run == 'true' }}
uses: actions/upload-artifact@v4
with:
name: oci-images
name: base-oci-image
path: /tmp/base.tar

- name: Push OCI Image
Expand Down Expand Up @@ -317,7 +324,21 @@ jobs:
if: ${{ steps.check-run.outputs.run == 'true' }}
uses: actions/download-artifact@v4
with:
name: oci-images
name: myself-oci-image
path: /tmp

- name: Download artifacts
if: ${{ steps.check-run.outputs.run == 'true' }}
uses: actions/download-artifact@v4
with:
name: qemu-oci-image
path: /tmp

- name: Download artifacts
if: ${{ steps.check-run.outputs.run == 'true' }}
uses: actions/download-artifact@v4
with:
name: base-oci-image
path: /tmp

- name: Load Docker image
Expand All @@ -344,7 +365,7 @@ jobs:
if: ${{ steps.check-run.outputs.run == 'true' }}
uses: actions/upload-artifact@v4
with:
name: oci-images
name: base-golang-oci-image
path: /tmp/base-golang.tar

- name: Push OCI Image
Expand Down Expand Up @@ -402,11 +423,19 @@ jobs:
with:
driver: docker


- name: Download artifacts
if: ${{ steps.check-run.outputs.run == 'true' }}
uses: actions/download-artifact@v4
with:
name: myself-oci-image
path: /tmp

- name: Download artifacts
if: ${{ steps.check-run.outputs.run == 'true' }}
uses: actions/download-artifact@v4
with:
name: oci-images
name: qemu-oci-image
path: /tmp

- name: Load Docker image
Expand Down

0 comments on commit 932dc7a

Please sign in to comment.