Skip to content

Commit a16fec6

Browse files
committed
Merge branch 'master' into release
2 parents c1f0785 + a89b9f9 commit a16fec6

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/build-deploy.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ jobs:
3636
id: image-tag
3737
run: |
3838
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)
4243
latest=${REGISTRY}/${IMAGE}:latest
4344
4445
## NAIS image is the image used by NAIS for deployment

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>no.ssb.maskinporten</groupId>
55
<artifactId>maskinporten-guardian</artifactId>
6-
<version>1.3.19-SNAPSHOT</version>
6+
<version>1.3.20-SNAPSHOT</version>
77
<packaging>${packaging}</packaging>
88

99
<parent>

0 commit comments

Comments
 (0)