File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 36
36
id : image-tag
37
37
run : |
38
38
if [ ${{ github.event_name }} == "release" ]; then
39
- semver=${REGISTRY}/${IMAGE}:v${GITHUB_REF}
40
- major_minor_version=${REGISTRY}/${IMAGE}:v$(echo "$GITHUB_REF" | cut -d'.' -f1-2)
41
- major_version=${REGISTRY}/${IMAGE}:v$(echo "$GITHUB_REF" | cut -d'.' -f1)
39
+ RELEASE_VERSION=${GITHUB_REF#refs/*/}
40
+ semver=${REGISTRY}/${IMAGE}:v${RELEASE_VERSION}
41
+ major_minor_version=${REGISTRY}/${IMAGE}:v$(echo "$RELEASE_VERSION" | cut -d'.' -f1-2)
42
+ major_version=${REGISTRY}/${IMAGE}:v$(echo "$RELEASE_VERSION" | cut -d'.' -f1)
42
43
latest=${REGISTRY}/${IMAGE}:latest
43
44
44
45
## NAIS image is the image used by NAIS for deployment
Original file line number Diff line number Diff line change 3
3
<modelVersion >4.0.0</modelVersion >
4
4
<groupId >no.ssb.maskinporten</groupId >
5
5
<artifactId >maskinporten-guardian</artifactId >
6
- <version >1.3.19 -SNAPSHOT</version >
6
+ <version >1.3.20 -SNAPSHOT</version >
7
7
<packaging >${packaging} </packaging >
8
8
9
9
<parent >
You can’t perform that action at this time.
0 commit comments