Skip to content

Commit

Permalink
f config-ctrl
Browse files Browse the repository at this point in the history
Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
  • Loading branch information
wainersm committed Nov 24, 2023
1 parent c4e2c10 commit d5c6de2
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/peerpodconfig-ctrl_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,8 @@ jobs:
- name: Build and push image
run: |
tags="${{ inputs.image_tags }}"
latest=0
for t in ${tags/,/ }; do
if [ "$t" = "latest" ]; then
latest=1
else
echo "::group::Build and push tag ${t}"
make docker-build docker-push IMG=${{ inputs.registry }}/peerpodconfig-ctrl:${t}
echo "::endgroup::"
fi
done
if [ $latest -eq 1 ]; then
echo "::group::Push latest"
make docker-push IMG=${{ inputs.registry }}/peerpodconfig-ctrl:latest
echo "::group::Build and push tag ${t}"
make docker-build docker-push IMG=${{ inputs.registry }}/peerpodconfig-ctrl:${t}
echo "::endgroup::"
fi
done

0 comments on commit d5c6de2

Please sign in to comment.