Skip to content

Commit

Permalink
Call 2b-geenerate-java-client from 4-release
Browse files Browse the repository at this point in the history
Signed-off-by: Yasumasa Suenaga <[email protected]>
  • Loading branch information
YaSuenag committed Jun 14, 2023
1 parent 3205c5c commit 907b999
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/4-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ env:
jobs:
publish-container-image:
runs-on: ubuntu-latest
outputs:
image: ${{ steps.retrieve-container-image.outputs.CONTAINER_IMAGE }}
permissions:
packages: write
steps:
Expand Down Expand Up @@ -41,3 +43,18 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
provenance: false
- name: Retrieve container image
id: retrieve-container-image
run: |
CONTAINER_IMAGE=`echo "$DOCKER_METADATA_OUTPUT_TAGS" | head -n 1 | cut -d ':' -f 1`
echo "CONTAINER_IMAGE=$CONTAINER_IMAGE" > "$GITHUB_OUTPUT"
publish-java-client:
needs: publish-container-image
permissions:
packages: write
contents: write
uses: ./.github/workflows/2b-generate-java-client.yaml
with:
image: ${{ needs.publish-container-image.outputs.image }}
tag: latest

0 comments on commit 907b999

Please sign in to comment.