[TH2-4978] UI skips a message that should be highlighted in the messa… #612
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: build & publish release image to ghcr.io | |
on: | |
push: | |
branches: | |
- master | |
- version-* | |
jobs: | |
build_and_publish_release: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- id: repo | |
name: resolve repository name | |
run: echo "::set-output name=REPOSITORY_NAME::$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" | |
- id: version | |
name: resolve app version | |
uses: notiz-dev/github-action-json-property@release | |
with: | |
path: package.json | |
prop_path: version | |
- name: set up docker buildx plugin | |
uses: docker/setup-buildx-action@v1 | |
- name: log in to github container registry | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: build image & push to registry | |
uses: docker/build-push-action@v2 | |
with: | |
push: true | |
tags: ghcr.io/${{ github.repository }}:${{ steps.version.outputs.prop }} | |
labels: com.exactpro.th2.${{ steps.repo.outputs.REPOSITORY_NAME }}=${{ steps.version.outputs.prop }} |