Skip to content

Commit

Permalink
update docekr build
Browse files Browse the repository at this point in the history
Signed-off-by: Nicklas Körtge <[email protected]>
  • Loading branch information
n1ckl0sk0rtge committed Sep 18, 2024
1 parent afdd9cb commit 7f967ed
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
release:
types: [ "released" ]
workflow_dispatch:

env:
Expand Down Expand Up @@ -64,13 +66,12 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: cbomkit/${{ env.IMAGE_NAME }}
images: ${{ env.REGISTRY }}/cbomkit/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha
type=sha,format=long
- name: Log in to the Container registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
Expand Down

0 comments on commit 7f967ed

Please sign in to comment.