Skip to content

Commit

Permalink
ci: build main container only on published releases & add branch name…
Browse files Browse the repository at this point in the history
… to unstable containers as docker tag
  • Loading branch information
HilkopterBob committed Aug 16, 2024
1 parent 1f15b4e commit 3430bcd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docker-container.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: docker-build

on:
push:
branches: ["master"]
release:
types: [published]

jobs:
docker:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/unstable-build-docker-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: unstable-docker-build

on:
push:
branches: ["devel"]

jobs:
docker:
Expand All @@ -19,4 +18,4 @@ jobs:
uses: docker/build-push-action@v6
with:
push: true
tags: hilkopterbob/packagelock-unstable:latest
tags: hilkopterbob/packagelock-unstable:${{ env.BRANCH }}

0 comments on commit 3430bcd

Please sign in to comment.