@codfish/actions-playground 6.4.0-beta.1 → 6.4.0-beta.11
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 +55 -54
- package/Dockerfile +1 -1
- package/app.config.ts +1 -1
- package/package.json +1 -1
- package/provisioning/Chart.yml +2 -2
|
@@ -36,35 +36,35 @@ jobs:
|
|
|
36
36
|
run: |
|
|
37
37
|
echo $DOCKER_TAGS;
|
|
38
38
|
|
|
39
|
-
- name: docker login
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
- name: Set up QEMU
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
- name: Set up Docker Buildx
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
- name: docker build
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
- name: Upload Text file
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
- run: cat Dockerfile
|
|
39
|
+
# - name: docker login
|
|
40
|
+
# run: |
|
|
41
|
+
# echo "$DOCKER_PASSWORD" | docker login -u $DOCKER_USERNAME --password-stdin
|
|
42
|
+
# echo "$GCR_TOKEN" | docker login ghcr.io -u codfish --password-stdin
|
|
43
|
+
# env:
|
|
44
|
+
# DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
|
45
|
+
# DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
|
46
|
+
# GCR_TOKEN: ${{ secrets.GCR_TOKEN }}
|
|
47
|
+
|
|
48
|
+
# - name: Set up QEMU
|
|
49
|
+
# uses: docker/setup-qemu-action@v3
|
|
50
|
+
# with:
|
|
51
|
+
# platforms: arm64
|
|
52
|
+
|
|
53
|
+
# - name: Set up Docker Buildx
|
|
54
|
+
# uses: docker/setup-buildx-action@v3
|
|
55
|
+
|
|
56
|
+
# - name: docker build
|
|
57
|
+
# run: docker build -t codfish/actions-playground:latest .
|
|
58
|
+
|
|
59
|
+
# - name: Upload Text file
|
|
60
|
+
# if: github.ref == 'refs/heads/main'
|
|
61
|
+
# uses: actions/upload-artifact@v4
|
|
62
|
+
# with:
|
|
63
|
+
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
64
|
+
# name: text-file-${{ github.ref_name }}
|
|
65
|
+
# path: text.txt
|
|
66
|
+
|
|
67
|
+
# - run: cat Dockerfile
|
|
68
68
|
|
|
69
69
|
- name: semantic-release
|
|
70
70
|
uses: docker://ghcr.io/codfish/semantic-release-action@sha256:4c0955361cf42e5ab9bb05df3a1e2a781c443f9760b63a68957689445051a2fb
|
|
@@ -91,13 +91,13 @@ jobs:
|
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
'files': ['app.config.ts'],
|
|
94
|
-
'from': 'version
|
|
95
|
-
'to': '
|
|
94
|
+
'from': '(")?version(")?: ([\'"]).*([\'"])',
|
|
95
|
+
'to': '$1version$2: $3${nextRelease.version.split("-")[0]}$4',
|
|
96
96
|
}
|
|
97
97
|
]
|
|
98
98
|
}
|
|
99
99
|
],
|
|
100
|
-
[ '@semantic-release/git', {'assets': ['Dockerfile', 'provisioning/Chart.yml']} ],
|
|
100
|
+
[ '@semantic-release/git', {'assets': ['Dockerfile', 'provisioning/Chart.yml', 'app.config.ts']} ],
|
|
101
101
|
[
|
|
102
102
|
"@semantic-release/release-notes-generator",
|
|
103
103
|
{
|
|
@@ -158,28 +158,29 @@ jobs:
|
|
|
158
158
|
|
|
159
159
|
# Step to create a list of tags to push to GCR always including the latest tag and optionally
|
|
160
160
|
# the new release tag and major release tag.
|
|
161
|
-
- name: Create tags list
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
# Push docker images to GCR
|
|
175
|
-
# Dockerhub is auto synced with the repo, no need to explicitly deploy
|
|
176
|
-
- name: Build and push docker images to GCR
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
161
|
+
# - name: Create tags list
|
|
162
|
+
# id: tags
|
|
163
|
+
# shell: bash
|
|
164
|
+
# run: |
|
|
165
|
+
# TAGS="codfish/actions-playground:latest,ghcr.io/codfish/actions-playground:latest"
|
|
166
|
+
# if [ "${{ steps.semantic.outputs.new-release-published }}" == "true" ]; then
|
|
167
|
+
# TAGS="${TAGS},codfish/actions-playground:v${{ steps.semantic.outputs.release-version }}"
|
|
168
|
+
# TAGS="${TAGS},codfish/actions-playground:v${{ steps.semantic.outputs.release-major }}"
|
|
169
|
+
# TAGS="${TAGS},ghcr.io/codfish/actions-playground:v${{ steps.semantic.outputs.release-version }}"
|
|
170
|
+
# TAGS="${TAGS},ghcr.io/codfish/actions-playground:v${{ steps.semantic.outputs.release-major }}"
|
|
171
|
+
# fi
|
|
172
|
+
# echo "tags=${TAGS}" >> "$GITHUB_OUTPUT"
|
|
173
|
+
|
|
174
|
+
# # Push docker images to GCR
|
|
175
|
+
# # Dockerhub is auto synced with the repo, no need to explicitly deploy
|
|
176
|
+
# - name: Build and push docker images to GCR
|
|
177
|
+
# uses: docker/build-push-action@v5
|
|
178
|
+
# with:
|
|
179
|
+
# context: .
|
|
180
|
+
# platforms: linux/arm64,linux/amd64
|
|
181
|
+
# push: true
|
|
182
|
+
# tags: ${{ steps.tags.outputs.tags }}
|
|
183
|
+
|
|
183
184
|
# - name: push docker images to dockerhub & GCR
|
|
184
185
|
# if: steps.semantic.outputs.new-release-published == 'true'
|
|
185
186
|
# run: |
|
package/Dockerfile
CHANGED
package/app.config.ts
CHANGED
|
@@ -28,7 +28,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
|
|
|
28
28
|
...config,
|
|
29
29
|
name: `Foo Mobile${getAppNameSuffix()}`,
|
|
30
30
|
slug: 'foomobile',
|
|
31
|
-
version: '6.4.0
|
|
31
|
+
version: '6.4.0',
|
|
32
32
|
orientation: 'portrait',
|
|
33
33
|
icon: getAppLogo(),
|
|
34
34
|
scheme: 'foomobile',
|
package/package.json
CHANGED
package/provisioning/Chart.yml
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
appVersion: 6.4.0-beta.
|
|
1
|
+
appVersion: 6.4.0-beta.11
|
|
2
2
|
name: actions-playground
|
|
3
|
-
version: 6.4.0-beta.
|
|
3
|
+
version: 6.4.0-beta.11
|