Skip to content

Commit

Permalink
Update build actions
Browse files Browse the repository at this point in the history
* don't build catalog sample image on push to main
* use repo name as image name
  • Loading branch information
aelkiss committed Oct 29, 2024
1 parent cdceeef commit d761182
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build-sample-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
name: Build Catalog Sample Index

on:
workflow_run:
workflows: ['Run Tests']
branches: ['main']
types: [completed]

workflow_dispatch:
inputs:
img_tag:
Expand Down Expand Up @@ -49,4 +44,4 @@ jobs:
tag: ${{ inputs.ref }}
push_latest: ${{ inputs.push_latest}}
registry_token: ${{ github.token }}
rebuild: ${{ inputs.rebuild }}
rebuild: ${{ inputs.rebuild }}
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Build Image
uses: hathitrust/github_actions/[email protected]
with:
image: ghcr.io/catalog-indexer
image: ghcr.io/${{ github.repository }}
dockerfile: Dockerfile
img_tag: ${{ inputs.img_tag }}
tag: ${{ inputs.ref }}
Expand Down

0 comments on commit d761182

Please sign in to comment.