Skip to content

Commit

Permalink
Added - name: Prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
sharonsyh committed Aug 1, 2024
1 parent db2f55c commit 99ffbd7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/push_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Prepare
run: |
platform=${{ matrix.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@v4
- name: Docker Hub login
Expand Down Expand Up @@ -82,7 +86,7 @@ jobs:
- name: Upload digest
uses: actions/upload-artifact@v3
with:
name: digests-${{ matrix.platform }}
name: digests-${{ env.PLATFORM_PAIR }}
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1
Expand Down

0 comments on commit 99ffbd7

Please sign in to comment.