-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from rcwbr/6-convert-release-it-automation-to-…
…use-tagged-workflow-ref-and-self-image-ref Convert release-it automation to use tagged workflow ref and self image ref
- Loading branch information
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ jobs: | |
name: Docker Buildx builder setup | ||
uses: docker/[email protected] | ||
- | ||
id: docker-bake-base | ||
name: Docker Bake base | ||
uses: docker/[email protected] | ||
with: | ||
|
@@ -31,8 +32,8 @@ jobs: | |
env: | ||
REGISTRY: ghcr.io/rcwbr/ | ||
IMAGE_NAME: release-it-docker | ||
GITHUB_REF_PROTECTED: ${{ github.ref_protected || github.ref_type == 'tag' }} # See https://github.com/orgs/community/discussions/142985 | ||
- | ||
id: docker-bake-conventional-changelog | ||
name: Docker Bake conventional-changelog | ||
uses: docker/[email protected] | ||
with: | ||
|
@@ -44,12 +45,15 @@ jobs: | |
env: | ||
REGISTRY: ghcr.io/rcwbr/ | ||
IMAGE_NAME: release-it-docker-conventional-changelog | ||
GITHUB_REF_PROTECTED: ${{ github.ref_protected || github.ref_type == 'tag' }} # See https://github.com/orgs/community/discussions/142985 | ||
outputs: | ||
docker-bake-base-metadata: ${{ steps.docker-bake-base.outputs.metadata }} | ||
docker-bake-conventional-changelog-metadata: ${{ steps.docker-bake-conventional-changelog.outputs.metadata }} | ||
release-it-workflow: | ||
name: Release-it workflow | ||
# uses: rcwbr/release-it-gh-workflow/.github/workflows/[email protected] TODO use released ref | ||
uses: rcwbr/release-it-gh-workflow/.github/workflows/release-it-workflow.yaml@1-define-initial-workflow | ||
uses: rcwbr/release-it-gh-workflow/.github/workflows/[email protected] | ||
needs: build-docker-images | ||
with: | ||
release-it-image: ${{ fromJSON(needs.build-docker-images.outputs.docker-bake-conventional-changelog-metadata)['default']['image.name'] }} | ||
app-id: 1033419 # release-it-docker CI release-it app | ||
app-environment: Repo release | ||
secrets: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters