Skip to content

Commit

Permalink
add -d
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoey2936 committed Mar 19, 2023
1 parent 24bf442 commit e5cd23d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ jobs:
- name: copy curl binary
if: ${{ github.ref == 'refs/heads/develop' }}
run: |
docker run --pull always --platform amd64 --name curl-x86_64 ${{ steps.un.outputs.un }}/${{ github.event.repository.name }}:${{ github.ref_name }}
docker run -d --pull always --platform amd64 --name curl-x86_64 ${{ steps.un.outputs.un }}/${{ github.event.repository.name }}:${{ github.ref_name }}
docker cp curl-x86_64:/usr/local/bin/curl curl-x86_64
docker run --pull always --platform arm64 --name curl-aarch64 ${{ steps.un.outputs.un }}/${{ github.event.repository.name }}:${{ github.ref_name }}
docker run -d --pull always --platform arm64 --name curl-aarch64 ${{ steps.un.outputs.un }}/${{ github.event.repository.name }}:${{ github.ref_name }}
docker cp curl-aarch64:/usr/local/bin/curl curl-aarch64
- uses: actions/upload-artifact@v3
if: ${{ github.ref == 'refs/heads/develop' }}
Expand Down

0 comments on commit e5cd23d

Please sign in to comment.