Skip to content

Commit de69f24

Browse files
committed
ci: higher priority for sha container tags
1 parent 65c8baf commit de69f24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ jobs:
4949
tags: |
5050
type=semver,pattern={{version}}
5151
type=semver,pattern={{major}}.{{minor}}
52-
type=sha
5352
# disabled if major zero
5453
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
54+
type=sha,priority=650
5555
type=ref,event=branch
5656
type=ref,event=pr
5757

bin/playground.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/bash
1+
#!/usr/bin/env bash
22

33
set -eo pipefail
44

0 commit comments

Comments
 (0)