ci: testing workflow without environment variables #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Test Containerized release-it | |
on: | |
push: | |
branches: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Build the Image | |
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 \ | |
ghcr.io/${{ github.repository }}:${{ github.sha }} \ | |
release-it --dry-run | |
env: | |
GIT_EMAIL: "[email protected]" | |
GIT_USERNAME: "Juan Carlos Blanco Delgado" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |