Skip to content

Commit

Permalink
add clean-up step to avoid any previous garbage
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmachado committed Feb 19, 2024
1 parent 3d99e10 commit 399bed0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,13 @@ jobs:
context: ./
outputs: type=image,name=${{ env.IMAGE_ID }},push-by-digest=true,name-canonical=true,push=${{ github.event.inputs.publish }}

- name: Export digest - neo-cli-with-plugins
- name: Clean up digests dir - neo-cli-with-plugins
run: |
rm -rf /tmp/digests-plugins-image
mkdir -p /tmp/digests-plugins-image
- name: Export digest - neo-cli-with-plugins
run: |
digest="${{ steps.build-plugins-image.outputs.digest }}"
touch "/tmp/digests-plugins-image/${digest#sha256:}"
Expand All @@ -92,6 +96,11 @@ jobs:
id: loadenv
uses: ./.github/actions/load-env

- name: Clean up digests dir - neo-cli-with-plugins
run: |
rm -rf /tmp/digests-plugins-image
mkdir -p /tmp/digests-plugins-image
- name: Download digests - neo-cli-with-plugins
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 399bed0

Please sign in to comment.