@codfish/actions-playground 4.6.0 → 4.7.1

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
@@ -108,7 +117,7 @@ jobs:
108
117
  ]
109
118
  }
110
119
  ],
111
- [ '@semantic-release/git', {'assets': ['Dockerfile', 'provisioning/Chart.yaml']} ],
120
+ [ '@semantic-release/git', {'assets': ['Dockerfile', 'provisioning/Chart.yml']} ],
112
121
  '@semantic-release/release-notes-generator',
113
122
  '@semantic-release/npm',
114
123
  '@semantic-release/github'
@@ -117,6 +126,16 @@ jobs:
117
126
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
118
127
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
119
128
 
129
+ - shell: bash
130
+ if: steps.semantic.outputs.new-release-published == 'true'
131
+ run: |
132
+ echo "DOCKER_TAGS=${DOCKER_TAGS},${RELEASE_VERSION}" >> $GITHUB_ENV;
133
+
134
+ - name: echo DOCKER_TAGS
135
+ shell: bash
136
+ run: |
137
+ echo $DOCKER_TAGS;
138
+
120
139
  - name: push docker images to dockerhub & GCR
121
140
  if: steps.semantic.outputs.new-release-published == 'true'
122
141
  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.1
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.1",
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.1
2
2
  name: actions-playground
3
- version: 4.6.0
3
+ version: 4.7.1