@codfish/actions-playground 4.6.0 → 4.7.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.
@@ -27,6 +27,15 @@ jobs:
27
27
  with:
28
28
  node-version: 18.x
29
29
 
30
+ - shell: bash
31
+ run: |
32
+ echo "DOCKER_TAGS=main-${GITHUB_SHA},main,latest" >> $GITHUB_ENV;
33
+
34
+ - name: echo DOCKER_TAGS
35
+ shell: bash
36
+ run: |
37
+ echo $DOCKER_TAGS;
38
+
30
39
  - name: docker login
31
40
  run: |
32
41
  echo "$DOCKER_PASSWORD" | docker login -u $DOCKER_USERNAME --password-stdin
@@ -62,6 +71,16 @@ jobs:
62
71
  env:
63
72
  SEMANTIC_OUTPUTS: ${{ toJson(steps.semantic-dry-run.outputs) }}
64
73
 
74
+ - shell: bash
75
+ if: steps.semantic.outputs.new-release-published == 'true'
76
+ run: |
77
+ echo "DOCKER_TAGS=${DOCKER_TAGS},${RELEASE_VERSION}" >> $GITHUB_ENV;
78
+
79
+ - name: echo DOCKER_TAGS
80
+ shell: bash
81
+ run: |
82
+ echo $DOCKER_TAGS;
83
+
65
84
  - name: semantic release
66
85
  uses: docker://ghcr.io/codfish/semantic-release-action@sha256:91ea452696d93a34a30aff20b34614b75e8fddc82b598fc8fa57c3ac07e6d6da
67
86
  id: semantic
@@ -117,6 +136,11 @@ jobs:
117
136
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
118
137
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
119
138
 
139
+ - shell: bash
140
+ if: steps.semantic.outputs.new-release-published == 'true'
141
+ run: |
142
+ DOCKER_TAGS="${RELEASE_TAG},$"
143
+
120
144
  - name: push docker images to dockerhub & GCR
121
145
  if: steps.semantic.outputs.new-release-published == 'true'
122
146
  run: |
package/Dockerfile CHANGED
@@ -10,7 +10,7 @@ RUN npm ci
10
10
  COPY ./src ./src
11
11
  COPY ./public ./public
12
12
 
13
- ENV RELEASE_VERSION=4.6.0
13
+ ENV RELEASE_VERSION=4.7.0
14
14
 
15
15
  RUN npm run build
16
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codfish/actions-playground",
3
- "version": "4.6.0",
3
+ "version": "4.7.0",
4
4
  "description": "My own testing ground for messing around with GitHub Actions.",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -1,3 +1,3 @@
1
- appVersion: 4.6.0
1
+ appVersion: 4.7.0
2
2
  name: actions-playground
3
- version: 4.6.0
3
+ version: 4.7.0