Skip to content

Commit

Permalink
squash-me, use ttl.sh for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek committed May 31, 2024
1 parent f7696b2 commit a763e4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-notebooks-TEMPLATE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,14 @@ jobs:
IMAGE_REGISTRY: "ghcr.io/${{ github.repository }}/workbench-images"
CONTAINER_BUILD_CACHE_ARGS: "--cache-from ${{ env.CACHE }} --cache-to ${{ env.CACHE }}"

# https://ttl.sh/, Anonymous & ephemeral Docker image registry
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
- name: "pull_request: make ${{ inputs.target }}"
run: "make ${{ inputs.target }}"
if: "${{ fromJson(inputs.github).event_name == 'pull_request' }}"
env:
IMAGE_TAG: "${{ github.head_ref }}_${{ github.sha }}"
IMAGE_REGISTRY: "ghcr.io/${{ github.repository }}/workbench-images/pr${{ fromJson(inputs.github).event.number }}"
IMAGE_REGISTRY: "ttl.sh/${{ github.repository }}/workbench-images/pr${{ fromJson(inputs.github).event.number }}"
CONTAINER_BUILD_CACHE_ARGS: "--cache-from ${{ env.CACHE }}"

- run: df -h
Expand Down

0 comments on commit a763e4f

Please sign in to comment.