Skip to content

Commit cf5ce17

Browse files
committed
Use YAML block strip syntax (>-) where possible
1 parent f1f014b commit cf5ce17

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build-and-push-docker-image.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ jobs:
2424
--tag $IMAGE
2525
- name: Log in to GHCR
2626
if: github.event_name != 'pull_request'
27-
run: |
27+
run: >-
2828
echo ${{ secrets.GITHUB_TOKEN }} |
2929
docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
3030
- name: Push Docker image to GHCR
3131
if: github.event_name != 'pull_request'
32-
run: |
33-
docker push $IMAGE
32+
run: docker push $IMAGE

0 commit comments

Comments
 (0)