Skip to content

Commit 0481893

Browse files
committed
chore: Fixes release actions
1 parent d53dff0 commit 0481893

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ jobs:
6262
TAG_R: ixpantia/faucet:r4.4
6363
TAG_LATEST: ixpantia/faucet:latest
6464
run: |
65-
# Extract the minor version (e.g., from 1.2.3 to 1.2)
6665
TAG_MINOR=$(echo "${{ github.ref_name }}" | cut -d'.' -f1-2)
66+
TAG_MINOR="ixpantia/faucet:$TAG_MINOR-r4.4"
6767
6868
docker buildx build \
6969
--platform $PLATFORM \
@@ -97,15 +97,14 @@ jobs:
9797
TAG_R: ixpantia/faucet:r4.3
9898
TAG_LATEST: ixpantia/faucet:latest
9999
run: |
100-
# Extract the minor version (e.g., from 1.2.3 to 1.2)
101100
TAG_MINOR=$(echo "${{ github.ref_name }}" | cut -d'.' -f1-2)
101+
TAG_MINOR="ixpantia/faucet:$TAG_MINOR-r4.3"
102102
103103
docker buildx build \
104104
--platform $PLATFORM \
105105
--push \
106106
-t $TAG_V \
107107
-t $TAG_R \
108-
-t $TAG_LATEST \
109108
-t $TAG_MINOR \
110109
--build-arg R_VERSION=4.3 \
111110
.
@@ -131,15 +130,14 @@ jobs:
131130
TAG_V: ixpantia/faucet:${{ github.ref_name }}-r4.2
132131
TAG_R: ixpantia/faucet:r4.2
133132
run: |
134-
# Extract the minor version (e.g., from 1.2.3 to 1.2)
135133
TAG_MINOR=$(echo "${{ github.ref_name }}" | cut -d'.' -f1-2)
134+
TAG_MINOR="ixpantia/faucet:$TAG_MINOR-r4.2"
136135
137136
docker buildx build \
138137
--platform $PLATFORM \
139138
--push \
140139
-t $TAG_V \
141140
-t $TAG_R \
142-
-t $TAG_LATEST \
143141
-t $TAG_MINOR \
144142
--build-arg R_VERSION=4.2 \
145143
.
@@ -165,15 +163,14 @@ jobs:
165163
TAG_V: ixpantia/faucet:${{ github.ref_name }}-r4.1
166164
TAG_R: ixpantia/faucet:r4.1
167165
run: |
168-
# Extract the minor version (e.g., from 1.2.3 to 1.2)
169166
TAG_MINOR=$(echo "${{ github.ref_name }}" | cut -d'.' -f1-2)
167+
TAG_MINOR="ixpantia/faucet:$TAG_MINOR-r4.1"
170168
171169
docker buildx build \
172170
--platform $PLATFORM \
173171
--push \
174172
-t $TAG_V \
175173
-t $TAG_R \
176-
-t $TAG_LATEST \
177174
-t $TAG_MINOR \
178175
--build-arg R_VERSION=4.1 \
179176
.

0 commit comments

Comments
 (0)