Add tag special for docker images

This commit is contained in:
Valeria Bagisheva 2023-07-11 17:00:51 +03:00
parent 7b7a3092e9
commit 2265ba7c86

View File

@ -3,7 +3,8 @@ name: 4testing multiarch-build
on:
push:
branches:
- 'feature/docker-extra-tag'
- 'hotfix/v**'
- 'release/v**'
env:
DOCKER_PATH: "/build/install/docker"
@ -33,7 +34,7 @@ jobs:
- name: Build 4testing
run: |
cd .${DOCKER_PATH}
TAG=$(date "+%Y%m%d%H")
TAG=${{github.run_number}}
export DOCKER_TAG=$(echo "${GITHUB_REF_NAME}" | sed '/^release\b\|^hotfix\b\|^feature\b/s/release.*\/\|hotfix.*\/\|feature.*\///')
docker buildx bake -f build.yml \