Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
362e7b0b9c |
No files matched your search
@@ -58,7 +58,7 @@ jobs:
|
||||
# Targets of the database checks; SQL Server is left to local runs,
|
||||
# its image is too large for ephemeral runners.
|
||||
mariadb:
|
||||
image: mariadb:11
|
||||
image: mariadb:11@sha256:e1d5495f445654134f226f55a41ce0da227116f6f27f283101f405c794d841fc
|
||||
env:
|
||||
MARIADB_ROOT_PASSWORD: checkpw
|
||||
MARIADB_DATABASE: shop
|
||||
@@ -74,7 +74,7 @@ jobs:
|
||||
RABBITMQ_DEFAULT_USER: check
|
||||
RABBITMQ_DEFAULT_PASS: checkpw
|
||||
kafka:
|
||||
image: apache/kafka-native:4.1.1
|
||||
image: apache/kafka-native:4.1.1@sha256:b8faca36f5385f90e46861ea0b2f532ebed86e9b2868b717c75a67f6fda0c7ce
|
||||
env:
|
||||
KAFKA_NODE_ID: 1
|
||||
KAFKA_PROCESS_ROLES: broker,controller
|
||||
@@ -146,7 +146,7 @@ jobs:
|
||||
# once the PACKAGE_TOKEN secret (write:package) exists.
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: docker:cli
|
||||
image: docker:cli@sha256:34507eb5069d8be82c95dd3b6987d4250fd5fee49b82e2509b7d7a7030740d6d
|
||||
defaults:
|
||||
run:
|
||||
shell: sh
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ RUN CGO_ENABLED=0 go build -trimpath \
|
||||
-ldflags "-s -w -X git.zb-server.de/ZB-Server/uptimesebi/internal/buildinfo.Version=${VERSION} -X git.zb-server.de/ZB-Server/uptimesebi/internal/buildinfo.Commit=${COMMIT}" \
|
||||
-o /out/ ./cmd/...
|
||||
|
||||
FROM gcr.io/distroless/static-debian12:nonroot
|
||||
FROM gcr.io/distroless/static-debian12:nonroot@sha256:afa5c872c891853ca7fcf1f12c3edb23f7eeef36189728842dd51042ff57f7ab
|
||||
COPY --from=build /out/ /usr/local/bin/
|
||||
USER nonroot
|
||||
ENTRYPOINT ["/usr/local/bin/api"]
|
||||
+2
-2
@@ -53,7 +53,7 @@ services:
|
||||
# Databases the database checks are tested against:
|
||||
# docker compose --profile checks up -d --wait
|
||||
mariadb:
|
||||
image: mariadb:11
|
||||
image: mariadb:11@sha256:e1d5495f445654134f226f55a41ce0da227116f6f27f283101f405c794d841fc
|
||||
profiles: [checks]
|
||||
environment: {MARIADB_ROOT_PASSWORD: checkpw, MARIADB_DATABASE: shop}
|
||||
ports: ["13306:3306"]
|
||||
@@ -93,7 +93,7 @@ services:
|
||||
retries: 60
|
||||
|
||||
kafka:
|
||||
image: apache/kafka-native:4.1.1
|
||||
image: apache/kafka-native:4.1.1@sha256:b8faca36f5385f90e46861ea0b2f532ebed86e9b2868b717c75a67f6fda0c7ce
|
||||
profiles: [checks]
|
||||
ports: ["19092:9092"]
|
||||
environment:
|
||||
|
||||
Reference in new issue
Block a user