Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
Signed-off-by: Oguz Ozturk <[email protected]>
  • Loading branch information
oguzkaganozt committed Sep 25, 2024
1 parent deebc2d commit cb7f17f
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/actions/docker-build-and-push/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,17 @@ runs:

- name: Run vcs import
run: |
mkdir src
vcs import src < autoware.repos
vcs import src < simulator.repos
mkdir -p src
if [ ! -f autoware.repos ]; then
echo "Error: autoware.repos file not found"
exit 1
fi
vcs import src < autoware.repos || { echo "Error importing autoware.repos"; exit 1; }
if [ ! -f simulator.repos ]; then
echo "Error: simulator.repos file not found"
exit 1
fi
vcs import src < simulator.repos || { echo "Error importing simulator.repos"; exit 1; }
shell: bash

- name: Setup Docker Buildx
Expand Down Expand Up @@ -80,7 +88,7 @@ runs:
images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }}
tags: |
type=raw,value=simulator-monolithic${{ inputs.tag-suffix }}-${{ inputs.platform }}
type=raw,value=simulator-monolithic${{ inputs.tag-suffix }}-${{ steps.date.outputs.date }}-${{ inputs.platform }}
type=raw,value=simulator-monolithic${{ inputs.tag-suffix }}-${{ inputs.platform }}-${{ steps.date.outputs.date }}
bake-target: docker-metadata-action-simulator-monolithic
flavor: |
latest=false
Expand Down

0 comments on commit cb7f17f

Please sign in to comment.