Skip to content

Commit

Permalink
fixup, improve ci using the new additions
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek committed Aug 1, 2024
1 parent 8c6e2f3 commit dad5942
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 22 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-notebooks-TEMPLATE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,17 +129,14 @@ jobs:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
- name: "pull_request: make ${{ inputs.target }}"
run: |
# start a black hole container registry as make target always does a push
mkdir -p $HOME/.config/containers/registries.conf.d/
cp ci/cached-builds/insecure_localhost_registry.conf $HOME/.config/containers/registries.conf.d/insecure_localhost_registry.conf
go run ci/cached-builds/dev_null_container_registry.go &
# build and push the image
make ${{ inputs.target }}
if: "${{ fromJson(inputs.github).event_name == 'pull_request' }}"
env:
IMAGE_TAG: "${{ github.sha }}"
IMAGE_REGISTRY: "localhost:5000/workbench-images"
CONTAINER_BUILD_CACHE_ARGS: "--cache-from ${{ env.CACHE }}"
# We don't have access to image registry, so disable pushing
PUSH_IMAGES: "no"

- name: "Show podman images information"
run: podman images
Expand Down
14 changes: 0 additions & 14 deletions ci/cached-builds/dev_null_container_registry.go

This file was deleted.

3 changes: 0 additions & 3 deletions ci/cached-builds/insecure_localhost_registry.conf

This file was deleted.

0 comments on commit dad5942

Please sign in to comment.