|
@@ -82,7 +82,6 @@ jobs:
|
|
|
|
|
|
|
|
outputs:
|
|
outputs:
|
|
|
TAGS: ${{ steps.meta.outputs.tags }}
|
|
TAGS: ${{ steps.meta.outputs.tags }}
|
|
|
- TAGS_GHCR: ${{ steps.meta-ghcr.outputs.tags }}
|
|
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/checkout@v3
|
|
@@ -103,18 +102,6 @@ jobs:
|
|
|
type=semver,value=${{ needs.create-github-release.outputs.RELEASED_VERSION }},pattern={{major}}.{{minor}}
|
|
type=semver,value=${{ needs.create-github-release.outputs.RELEASED_VERSION }},pattern={{major}}.{{minor}}
|
|
|
type=semver,value=${{ needs.create-github-release.outputs.RELEASED_VERSION }},pattern={{major}}.{{minor}}.{{patch}}
|
|
type=semver,value=${{ needs.create-github-release.outputs.RELEASED_VERSION }},pattern={{major}}.{{minor}}.{{patch}}
|
|
|
|
|
|
|
|
- - name: Docker meta for ghcr.io
|
|
|
|
|
- uses: docker/metadata-action@v4
|
|
|
|
|
- id: meta-ghcr
|
|
|
|
|
- with:
|
|
|
|
|
- images: ghcr.io/weseek/growi
|
|
|
|
|
- sep-tags: ','
|
|
|
|
|
- tags: |
|
|
|
|
|
- type=raw,value=latest
|
|
|
|
|
- type=semver,value=${{ needs.create-github-release.outputs.RELEASED_VERSION }},pattern={{major}}
|
|
|
|
|
- type=semver,value=${{ needs.create-github-release.outputs.RELEASED_VERSION }},pattern={{major}}.{{minor}}
|
|
|
|
|
- type=semver,value=${{ needs.create-github-release.outputs.RELEASED_VERSION }},pattern={{major}}.{{minor}}.{{patch}}
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
build-image:
|
|
build-image:
|
|
|
needs: create-github-release
|
|
needs: create-github-release
|
|
@@ -140,21 +127,9 @@ jobs:
|
|
|
secrets:
|
|
secrets:
|
|
|
DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
|
|
DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
|
|
|
|
|
|
|
|
- publish-image-ghcr:
|
|
|
|
|
- needs: [determine-tags, build-image]
|
|
|
|
|
-
|
|
|
|
|
- uses: weseek/growi/.github/workflows/reusable-app-create-manifests.yml@master
|
|
|
|
|
- with:
|
|
|
|
|
- tags: ${{ needs.determine-tags.outputs.TAGS_GHCR }}
|
|
|
|
|
- registry: ghcr.io
|
|
|
|
|
- image-name: weseek/growi
|
|
|
|
|
- tag-temporary: latest
|
|
|
|
|
- secrets:
|
|
|
|
|
- DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_ON_GITHUB_PASSWORD }}
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
post-publish:
|
|
post-publish:
|
|
|
- needs: [create-github-release, publish-image, publish-image-ghcr]
|
|
|
|
|
|
|
+ needs: [create-github-release, publish-image]
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|
|
@@ -179,7 +154,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
|
create-pr-for-next-rc:
|
|
create-pr-for-next-rc:
|
|
|
- needs: [create-github-release, publish-image, publish-image-ghcr]
|
|
|
|
|
|
|
+ needs: [create-github-release, publish-image]
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|