mirror of
https://gitcode.com/gh_mirrors/gh/gh-action-pypi-publish.git
synced 2026-07-02 18:27:49 +00:00
Use YAML block strip syntax (>-) where possible
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user