Skip to content

Commit

Permalink
action: add a new image target to the action
Browse files Browse the repository at this point in the history
Signed-off-by: Nitin Goyal <[email protected]>
  • Loading branch information
iamniting committed May 17, 2024
1 parent ebac0c1 commit a8a7086
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ jobs:
OPM_RENDER_OPTS: --use-http
run: |
docker run -d -p 5000:5000 --name registry registry:2
make bundle-build bundle-push catalog-build
make bundle-build bundle-push catalog-build catalog-deps-build
msg='Uncommitted catalog changes. run `make catalog` and commit results.'
git diff --exit-code catalog || (echo -e '\e[31m'"$msg"; exit 1)
3 changes: 2 additions & 1 deletion .github/workflows/docker-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ jobs:
- name: Build and push docker images
env:
REGISTRY_NAMESPACE: ${{ github.event.inputs.REGISTRY_NAMESPACE }}
IMAGE_TAG: ${{ github.event.inputs.IMAGE_TAG }}
IMAGE_TAG: ${{ github.ref_name }}-${{ github.sha.substr(0, 7) }}
run: |
make docker-build docker-push
make bundle-build bundle-push
make catalog-build catalog-push
make catalog-deps-build catalog-deps-push

0 comments on commit a8a7086

Please sign in to comment.