mirror of
https://github.com/pypa/gh-action-pypi-publish
synced 2024-11-30 21:22:28 +08:00
Use YAML block strip syntax (>-
) where possible
This commit is contained in:
parent
3f3acc27e9
commit
20c36db551
@ -24,10 +24,9 @@ jobs:
|
||||
--tag $IMAGE
|
||||
- name: Log in to GHCR
|
||||
if: github.event_name != 'pull_request'
|
||||
run: |
|
||||
run: >-
|
||||
echo ${{ secrets.GITHUB_TOKEN }} |
|
||||
docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
|
||||
- name: Push Docker image to GHCR
|
||||
if: github.event_name != 'pull_request'
|
||||
run: |
|
||||
docker push $IMAGE
|
||||
run: docker push $IMAGE
|
||||
|
Loading…
Reference in New Issue
Block a user