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: Manually publish container image using the last commit SHA as an image tag | ||
on: | ||
pull_request: # run on pull requests | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the code | ||
uses: actions/checkout@v4 | ||
- name: Print the pr last commit SHA (shortened) | ||
if: ${{ github.event_name == 'pull_request' }} | ||
run: echo "The commit SHA is ${{ github.event.pull_request.head.sha.substr(0, 7) }}" | ||
Check failure on line 16 in .github/workflows/cicd-publish-api-image-pr.yaml GitHub Actions / Manually publish container image using the last commit SHA as an image tagInvalid workflow file
|