Skip to content

Commit a20c3aa

Browse files
committed
build and push releases using docker
1 parent 1cc5337 commit a20c3aa

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/workflows/publish.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@ jobs:
4242
echo "SKIP=true" >> $GITHUB_ENV
4343
exit 0
4444
45+
- name: Set up Docker
46+
uses: docker/setup-docker-action@v4
47+
with:
48+
daemon-config: |
49+
{
50+
"features": {
51+
"containerd-snapshotter": true
52+
}
53+
}
54+
4555
- name: Set up QEMU
4656
uses: docker/setup-qemu-action@v2
4757

@@ -73,9 +83,9 @@ jobs:
7383
make reviewable
7484
make build-docker-binary
7585
76-
- name: Build Images
86+
- name: Build and push Images
7787
run: |
78-
IMG=ghcr.io/openmcp-project/metrics-operator:${{ env.version }} make docker-buildx
88+
IMG=ghcr.io/openmcp-project/metrics-operator:${{ env.version }} make docker-buildx docker-push
7989
8090
- name: setup OCM
8191
uses: open-component-model/ocm-setup-action@main

component-constructor.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ components:
1717
type: dockermulti
1818
repository: images/${COMPONENT_NAME}
1919
variants:
20-
- "${COMPONENT_REPO_PREFIX}:${VERSION}-linux-amd64"
21-
- "${COMPONENT_REPO_PREFIX}:${VERSION}-linux-arm64"
20+
- "${COMPONENT_REPO_PREFIX}:${VERSION}"

0 commit comments

Comments
 (0)