We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74272a7 commit 9341ee8Copy full SHA for 9341ee8
.github/workflows/node-ci-build.yml
@@ -14,7 +14,6 @@ jobs:
14
release:
15
name: 'Semantic Release NodeJS'
16
runs-on: ubuntu-latest
17
- environment: main
18
strategy:
19
matrix:
20
node-version: [ '18.x' ]
@@ -50,10 +49,15 @@ jobs:
50
49
run: |
51
NEW_TAG=$( git describe --tags --abbrev=0 "${{ inputs.commit_sha }}")
52
echo "NEW_TAG=$NEW_TAG" >> "$GITHUB_OUTPUT"
+ review-docker:
53
+ name: 'Review Main Deployment'
54
+ runs-on: ubuntu-latest
55
+ if: github.ref == 'refs/heads/develop' #testing
56
+ environment: main
57
release-docker:
58
name: 'Build and Release Docker Image'
59
- needs: release
60
+ needs: [release, review-docker]
61
env:
62
IMAGE_NAME: ${{ github.repository }}:${{ needs.release.outputs.NEW_TAG }}
63
steps:
0 commit comments