Skip to content

Commit

Permalink
Update Docker image tags to include artifact repository URL in create…
Browse files Browse the repository at this point in the history
…-prerelease workflow
  • Loading branch information
arrowplum committed Jan 10, 2025
1 parent 8591159 commit 04db4e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ jobs:
- name: Build and Push Docker Image
run: |
jf docker buildx bake \
--set asvec.tags=${{ env.JFROG_CLI_BUILD_PROJECT }}-container-dev-local/asvec:${{ needs.build.outputs.version }} \
--set asvec.tags=artifact.aerospike.io/${{ env.JFROG_CLI_BUILD_PROJECT }}-container-dev-local/asvec:${{ needs.build.outputs.version }} \
--file docker/asvec.docker/bake.hcl \
--push \
--metadata-file=build-metadata
Expand All @@ -395,8 +395,8 @@ jobs:
- name: Extract Image Name and Digest
run: |
jq -r '.[] | {digest: .["containerimage.digest"], names: .["image.name"] | split(",")} | "(.digest)"' build-metadata > sha
echo ${{ env.JFROG_CLI_BUILD_PROJECT }}-container-dev-local/asvec:${{ needs.build.outputs.version }}@$(cat sha) > meta-info
echo ${{ env.JFROG_CLI_BUILD_PROJECT }}-container-dev-local/asvec:${{ needs.build.outputs.version }}@$(cat sha) > meta-info-latest
echo artifact.aerospike.io/${{ env.JFROG_CLI_BUILD_PROJECT }}-container-dev-local/asvec:${{ needs.build.outputs.version }}@$(cat sha) > meta-info
echo artifact.aerospike.io/${{ env.JFROG_CLI_BUILD_PROJECT }}-container-dev-local/asvec:${{ needs.build.outputs.version }}@$(cat sha) > meta-info-latest
- name: Create Docker Build Info
run: |
jf rt build-docker-create \
Expand Down

0 comments on commit 04db4e0

Please sign in to comment.