File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 6
6
- main
7
7
- develop
8
8
- ' release/*'
9
+ - main-temp
9
10
10
11
tags :
11
12
- ' *'
15
16
- main
16
17
- develop
17
18
- ' release/*'
19
+ - main-temp
18
20
19
21
env :
20
22
MAIN_REPO : IN-CORE/pyincore
42
44
BRANCH=${GITHUB_REF##*/}
43
45
fi
44
46
echo "GITHUB_BRANCH=${BRANCH}" >> $GITHUB_ENV
45
- if [ "$BRANCH" == "main" ]; then
47
+ if [ "$BRANCH" == "main-temp " ]; then
46
48
version=$(awk -F= '/^release/ { print $2}' docs/source/conf.py | sed "s/[ ']//g")
47
49
tags="latest"
48
50
oldversion=""
51
53
tags="${tags},${version}"
52
54
version=${version%.*}
53
55
done
56
+ # Remove any unwanted double quotes from tags
57
+ tags=$(echo $tags | sed 's/"//g')
54
58
echo "VERSION=${version}" >> $GITHUB_ENV
55
59
echo "TAGS=${tags}" >> $GITHUB_ENV
56
60
elif [ "$BRANCH" == "develop" ]; then
61
65
echo "TAGS=${BRANCH}" >> $GITHUB_ENV
62
66
fi
63
67
68
+ # debug TAGS
69
+ - name : Debug TAGS
70
+ run : echo "TAGS=${{ env.TAGS }}"
71
+
64
72
# build image
65
73
- name : Build image
66
74
uses : elgohr/Publish-Docker-Github-Action@3.04
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
6
6
and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
7
7
8
+ ## [ Unreleased]
9
+
10
+ ### Fixed
11
+ - Documentation container tagging error by github action [ #631 ] ( https://github.com/IN-CORE/pyincore/issues/631 )
12
+
8
13
## [ 1.20.1] - 2024-11-01
9
14
10
15
### Fixed
You can’t perform that action at this time.
0 commit comments