|
|
@@ -97,13 +97,6 @@ jobs:
|
|
|
additional-tags: 'latest'
|
|
|
publish: true
|
|
|
|
|
|
- - name: Slack Notification
|
|
|
- uses: weseek/ghaction-release-slack-notification@master
|
|
|
- with:
|
|
|
- channel: '#general'
|
|
|
- url: ${{ secrets.SLACK_WEBHOOK_URL }}
|
|
|
- created_tag: 'v${{ needs.github-release.outputs.RELEASE_VERSION }}${{ env.SUFFIX }}'
|
|
|
-
|
|
|
- name: Update Docker Hub Description
|
|
|
uses: peter-evans/dockerhub-description@v2
|
|
|
with:
|
|
|
@@ -112,6 +105,28 @@ jobs:
|
|
|
repository: weseek/growi
|
|
|
readme-filepath: ./docker/README.md
|
|
|
|
|
|
+ - name: Login to GitHub Container Registry
|
|
|
+ uses: docker/login-action@v1
|
|
|
+ with:
|
|
|
+ registry: ghcr.io
|
|
|
+ username: wsmoogle
|
|
|
+ password: ${{ secrets.DOCKER_REGISTRY_ON_GITHUB_PASSWORD }}
|
|
|
+
|
|
|
+ - name: Build and push to ghcr
|
|
|
+ uses: docker/build-push-action@v2
|
|
|
+ with:
|
|
|
+ context: .
|
|
|
+ file: ./docker/Dockerfile
|
|
|
+ push: true
|
|
|
+ tags: ghcr.io/weseek/growi:${{ needs.github-release.outputs.RELEASE_VERSION }}${{ env.SUFFIX }}
|
|
|
+
|
|
|
+ - name: Slack Notification
|
|
|
+ uses: weseek/ghaction-release-slack-notification@master
|
|
|
+ with:
|
|
|
+ channel: '#general'
|
|
|
+ url: ${{ secrets.SLACK_WEBHOOK_URL }}
|
|
|
+ created_tag: 'v${{ needs.github-release.outputs.RELEASE_VERSION }}${{ env.SUFFIX }}'
|
|
|
+
|
|
|
- name: Check whether workspace is clean
|
|
|
run: |
|
|
|
STATUS=`git status --porcelain`
|