Add validation notification settings before copyParameter #3
Workflow file for this run
This file contains hidden or 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: Release new admin version | |
| on: | |
| push: | |
| tags: | |
| - v* | |
| jobs: | |
| admin-make-latest: | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: admin-tag-${{ github.ref }} | |
| cancel-in-progress: true | |
| steps: | |
| - name: Log in to GitHub Container Registry | |
| uses: docker/login-action@v2 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.TOKEN }} | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Set short git commit SHA | |
| id: vars | |
| run: | | |
| calculatedSha=$(git rev-parse --short ${{ github.sha }}) | |
| echo "COMMIT_SHORT_SHA=$calculatedSha" >> $GITHUB_ENV | |
| echo "REPO=${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV | |
| - name: Pull Docker image | |
| run: | | |
| docker pull ghcr.io/$REPO-admin:$COMMIT_SHORT_SHA | |
| - name: Tag Docker image | |
| run: | | |
| docker image tag ghcr.io/$REPO-admin:$COMMIT_SHORT_SHA ghcr.io/$REPO-admin:latest |