Add tag special for docker images
This commit is contained in:
parent
7b7a3092e9
commit
2265ba7c86
5
.github/workflows/4testing-multi-build.yml
vendored
5
.github/workflows/4testing-multi-build.yml
vendored
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user