Skip to content

Commit

Permalink
ci: turning docker run into a single line command instead of multiline
Browse files Browse the repository at this point in the history
  • Loading branch information
juancarlosjr97 committed Feb 10, 2024
1 parent ee5b21c commit 0053c4e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,7 @@ jobs:
run: docker build . --tag ghcr.io/${{ github.repository }}:${{ github.sha }}
- name: Running release-it on dry-run
run: |
docker run \
-e GIT_EMAIL=${GIT_EMAIL} \
-e GIT_USERNAME=${GIT_USERNAME} \
-e GITHUB_TOKEN=${GITHUB_TOKEN} \
-e RELEASE_IT_PLUGINS="@release-it/conventional-changelog@latest" \
-v $(pwd):/app \
${{ github.repository }}:${{ github.sha }} \
release-it --dry-run
docker run -e GIT_EMAIL=${GIT_EMAIL} -e GIT_USERNAME=${GIT_USERNAME} -e GITHUB_TOKEN=${GITHUB_TOKEN} -e RELEASE_IT_PLUGINS="@release-it/conventional-changelog@latest" -v $(pwd):/app ghcr.io/${{ github.repository }}:${{ github.sha }} release-it --dry-run
env:
GIT_EMAIL: ${{ vars.GIT_EMAIL }}
GIT_USERNAME: ${{ vars.GIT_USERNAME }}
Expand Down

0 comments on commit 0053c4e

Please sign in to comment.