Skip to content

Commit

Permalink
feat: update docker ci (#8)
Browse files Browse the repository at this point in the history
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
  • Loading branch information
isamu-takagi authored Apr 25, 2024
1 parent 104b078 commit b62b064
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/actions/docker-build-and-push/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ runs:
uses: docker/bake-action@v2
with:
# Checking event_name for https://github.com/autowarefoundation/autoware/issues/2796
push: ${{ github.event_name == 'schedule' || github.ref_name == github.event.repository.default_branch || github.event_name == 'push'}}
push: ${{ github.ref_name == github.event.repository.default_branch}}
targets: runtime
files: |
docker/${{ inputs.bake-target }}/docker-bake.hcl
${{ steps.meta-runtime.outputs.bake-file }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-and-push-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
*.args.BASE_IMAGE=${{ env[format('{0}', matrix.base_image_env)] }}
*.args.SETUP_ARGS=${{ matrix.setup-args }}
tag-prefix: ${{ env.rosdistro }}-
tag-suffix: ${{ matrix.additional-tag-suffix }}-amd64
tag-suffix: ${{ matrix.additional-tag-suffix }}

- name: Show disk space
run: |
Expand Down

0 comments on commit b62b064

Please sign in to comment.