Update docker-publish.yml

This commit is contained in:
Gabor FELEGYHAZI
2022-06-28 19:16:43 +02:00
committed by GitHub
parent 2efe54c936
commit 80fc1ff506

View File

@@ -35,11 +35,11 @@ jobs:
- name: Set build environment
run: |
year=$(date +%Y);
month=$(date +%m);
day=$(date +%j);
ref="${GITHUB_REF#refs/*/}";
echo "REF=$ref" >> $GITHUB_ENV;
tag="${GITHUB_REF#tags/*/}";
[[ $tag == '' ]] || tag="${year}.${month}.${{ github.run_number }}";
[[ $tag == '' ]] || tag="${year}.${day}.${{ github.run_number }}";
echo "TAG=$tag" >> $GITHUB_ENV;
- name: Setup Pack
run: |