@codfish/actions-playground 6.1.2 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +43 -18
- package/Dockerfile +1 -1
- package/package.json +1 -1
- package/provisioning/Chart.yml +2 -2
|
@@ -72,7 +72,7 @@ jobs:
|
|
|
72
72
|
{
|
|
73
73
|
'replacements': [
|
|
74
74
|
{
|
|
75
|
-
'files': ['Dockerfile'],
|
|
75
|
+
'files': ['Dockerfile'],
|
|
76
76
|
'from': 'RELEASE_VERSION=.*',
|
|
77
77
|
'to': 'RELEASE_VERSION=${nextRelease.version}'
|
|
78
78
|
},
|
|
@@ -143,24 +143,49 @@ jobs:
|
|
|
143
143
|
run: |
|
|
144
144
|
echo $DOCKER_TAGS;
|
|
145
145
|
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
# Step to create a list of tags to push to GCR always including the latest tag and optionally
|
|
147
|
+
# the new release tag and major release tag.
|
|
148
|
+
- name: Create tags list
|
|
149
|
+
id: tags
|
|
150
|
+
shell: bash
|
|
148
151
|
run: |
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
152
|
+
TAGS="codfish/actions-playground:latest,ghcr.io/codfish/actions-playground:latest"
|
|
153
|
+
if [ "${{ steps.semantic.outputs.new-release-published }}" == "true" ]; then
|
|
154
|
+
TAGS="${TAGS},codfish/actions-playground:v${{ steps.semantic.outputs.release-version }}"
|
|
155
|
+
TAGS="${TAGS},codfish/actions-playground:v${{ steps.semantic.outputs.release-major }}"
|
|
156
|
+
TAGS="${TAGS},ghcr.io/codfish/actions-playground:v${{ steps.semantic.outputs.release-version }}"
|
|
157
|
+
TAGS="${TAGS},ghcr.io/codfish/actions-playground:v${{ steps.semantic.outputs.release-major }}"
|
|
158
|
+
fi
|
|
159
|
+
echo "tags=${TAGS}" >> "$GITHUB_OUTPUT"
|
|
160
|
+
|
|
161
|
+
# Push docker images to GCR
|
|
162
|
+
# Dockerhub is auto synced with the repo, no need to explicitly deploy
|
|
163
|
+
- name: Build and push docker images to GCR
|
|
164
|
+
uses: docker/build-push-action@v5
|
|
165
|
+
with:
|
|
166
|
+
context: .
|
|
167
|
+
platforms: linux/arm64,linux/amd64
|
|
168
|
+
push: true
|
|
169
|
+
tags: ${{ steps.tags.outputs.tags }}
|
|
170
|
+
# - name: push docker images to dockerhub & GCR
|
|
171
|
+
# if: steps.semantic.outputs.new-release-published == 'true'
|
|
172
|
+
# run: |
|
|
173
|
+
# docker tag codfish/actions-playground ghcr.io/codfish/actions-playground:latest
|
|
174
|
+
# docker tag codfish/actions-playground codfish/actions-playground:$VERSION_TAG
|
|
175
|
+
# docker tag codfish/actions-playground codfish/actions-playground:$MAJOR_TAG
|
|
176
|
+
# docker tag codfish/actions-playground ghcr.io/codfish/actions-playground:$VERSION_TAG
|
|
177
|
+
# docker tag codfish/actions-playground ghcr.io/codfish/actions-playground:$MAJOR_TAG
|
|
178
|
+
#
|
|
179
|
+
# docker push codfish/actions-playground:latest
|
|
180
|
+
# docker push codfish/actions-playground:$VERSION_TAG
|
|
181
|
+
# docker push codfish/actions-playground:$MAJOR_TAG
|
|
182
|
+
# docker push ghcr.io/codfish/actions-playground:latest
|
|
183
|
+
# docker push ghcr.io/codfish/actions-playground:$VERSION_TAG
|
|
184
|
+
# docker push ghcr.io/codfish/actions-playground:$MAJOR_TAG
|
|
185
|
+
# env:
|
|
186
|
+
# VERSION_TAG: v${{ steps.semantic.outputs.release-version }}
|
|
187
|
+
# MAJOR_TAG: v${{ steps.semantic.outputs.release-major }}
|
|
188
|
+
|
|
164
189
|
# - name: build docs
|
|
165
190
|
# run: |
|
|
166
191
|
# npm ci --no-save
|
package/Dockerfile
CHANGED
package/package.json
CHANGED
package/provisioning/Chart.yml
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
appVersion: 6.
|
|
1
|
+
appVersion: 6.2.0
|
|
2
2
|
name: actions-playground
|
|
3
|
-
version: 6.
|
|
3
|
+
version: 6.2.0
|