Skip to content

Commit

Permalink
Push builder image
Browse files Browse the repository at this point in the history
  • Loading branch information
doganulus committed Jul 19, 2024
1 parent 5c55bed commit d386352
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/builder-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,8 @@ jobs:
build-args: |
"AUTOWARE_VERSION=${{ env.AUTOWARE_VERSION }}"
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest-builder
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.AUTOWARE_VERSION }}-builder
load: true
# push: true
cache-from: type=gha
cache-to: type=gha,mode=max

Expand All @@ -84,3 +82,16 @@ jobs:
# push: true
cache-from: type=gha
cache-to: type=gha,mode=max

# Push the builder image to the registry
- name: Push builder image
uses: docker/build-push-action@v6
with:
context: .
target: autoware-builder
build-args: |
"AUTOWARE_VERSION=${{ env.AUTOWARE_VERSION }}"
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest-builder
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.AUTOWARE_VERSION }}-builder
push: true

0 comments on commit d386352

Please sign in to comment.