Skip to content

[Th2-5234] Add time limit to message panel (#574) #624

[Th2-5234] Add time limit to message panel (#574)

[Th2-5234] Add time limit to message panel (#574) #624

Workflow file for this run

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 }}