Skip to content

Commit e8a90f5

Browse files
committed
update dockerfile and build
1 parent 02e5754 commit e8a90f5

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

.github/workflows/agent.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ jobs:
105105
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
106106
tags: |
107107
type=raw,value=latest
108+
type=raw,value=latestv1
108109
type=raw,value=${{ env.ROR_VERSION }}
109110
110111
# Build and push Docker image with Buildx (don't push on PR)

.github/workflows/agentv2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
with:
106106
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
107107
tags: |
108-
type=raw,value=latest
108+
type=raw,value=latestv2
109109
type=raw,value=${{ env.ROR_VERSION }}
110110
111111
# Build and push Docker image with Buildx (don't push on PR)

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
ARG GCR_MIRROR=gcr.io/
22
FROM ${GCR_MIRROR}distroless/static:nonroot
33
LABEL org.opencontainers.image.source https://github.com/norskhelsenett/ror-agent
4+
LABEL org.opencontainers.image.description ROR Agent v1
45
WORKDIR /
56

67
COPY cmd/agent/version.json /version.json

v2/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
ARG GCR_MIRROR=gcr.io/
22
FROM ${GCR_MIRROR}distroless/static:nonroot
33
LABEL org.opencontainers.image.source https://github.com/norskhelsenett/ror-agent
4+
LABEL org.opencontainers.image.description ROR Agent v2
45
WORKDIR /
56

67
COPY dist/agent /bin/ror-cluster-agent

0 commit comments

Comments
 (0)