Skip to content

Commit

Permalink
feat: ci release-it workflow with self-built images
Browse files Browse the repository at this point in the history
  • Loading branch information
rcwbr committed Oct 31, 2024
1 parent 6feed92 commit 9505359
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/push-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 9505359

Please sign in to comment.