Skip to content

Commit

Permalink
Add docker image building on push to main as well as PR to main
Browse files Browse the repository at this point in the history
  • Loading branch information
klejejs committed Sep 23, 2024
1 parent 37521f3 commit cc1948d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on:
release:
types:
- published
push:
branches:
- main
pull_request:
branches:
- main

jobs:
deploy:
Expand All @@ -30,4 +36,4 @@ jobs:
context: .
platforms: linux/amd64
push: ${{ github.event_name == 'release' }}
tags: ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }}
tags: ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name || github.sha }}

0 comments on commit cc1948d

Please sign in to comment.