Skip to content

Commit

Permalink
Use YAML block strip syntax (>-) where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
br3ndonland committed Nov 4, 2024
1 parent f1f014b commit cf5ce17
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-and-push-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cf5ce17

Please sign in to comment.