Skip to content

Commit 5392761

Browse files
authored
chore: build github container registry images (#40)
Pushes new container images up to our GitHub container registry that makes them available to the public. Eventually we'll want this to be done by the shared GitHub action workflow but this is easier for now.
2 parents 08b41d6 + 161623e commit 5392761

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
matrix:
2424
service:
2525
- datum-authorization-webhook
26+
- datum-apiserver
27+
- datum-controller-manager
2628

2729
steps:
2830
- name: Checkout repository
@@ -41,12 +43,12 @@ jobs:
4143
with:
4244
images: ghcr.io/datum-cloud/${{ matrix.service }}
4345
tags: |
44-
type=schedule
45-
type=ref,event=branch
4646
type=ref,event=pr
47-
type=semver,pattern={{version}}
48-
type=semver,pattern={{major}}.{{minor}}
49-
type=semver,pattern={{major}}
47+
type=ref,event=branch
48+
type=ref,event=branch,suffix=-{{commit_date 'YYYYMMDD-HHmmss'}}
49+
type=semver,pattern=v{{version}}
50+
type=semver,pattern=v{{major}}.{{minor}}
51+
type=semver,pattern=v{{major}}
5052
type=sha
5153
5254
- name: Build ${{ matrix.service }}

0 commit comments

Comments
 (0)