Use YAML block strip syntax (`>-`) where possible

This commit is contained in:
Brendon Smith 2024-05-27 14:00:48 -04:00
parent f1f014b445
commit cf5ce177da
No known key found for this signature in database
1 changed files with 2 additions and 3 deletions

View File

@ -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