Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hendricius committed Dec 7, 2023
1 parent 948da6f commit e8970cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags:
# Latest for main, else branch name
tags: |
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
- name: Print tags
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/validate-book-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ on:
jobs:
test_building_book:
runs-on: ubuntu-latest

env:
IMAGE: ghcr.io/hendricius/the-sourdough-framework:${{ github.ref_slug }}
IMAGE: ghcr.io/hendricius/the-sourdough-framework:${{ github.event.pull_request.head.ref }}

steps:
- name: Set up git repository
uses: actions/checkout@v3
Expand Down

0 comments on commit e8970cb

Please sign in to comment.