mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2024-11-25 10:01:02 -05:00
Use YAML block strip syntax (>-
) where possible
This commit is contained in:
parent
f1f014b445
commit
cf5ce177da
1 changed files with 2 additions and 3 deletions
|
@ -24,10 +24,9 @@ jobs:
|
||||||
--tag $IMAGE
|
--tag $IMAGE
|
||||||
- name: Log in to GHCR
|
- name: Log in to GHCR
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
run: |
|
run: >-
|
||||||
echo ${{ secrets.GITHUB_TOKEN }} |
|
echo ${{ secrets.GITHUB_TOKEN }} |
|
||||||
docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
|
docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
|
||||||
- name: Push Docker image to GHCR
|
- name: Push Docker image to GHCR
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
run: |
|
run: docker push $IMAGE
|
||||||
docker push $IMAGE
|
|
||||||
|
|
Loading…
Reference in a new issue