Compare commits

..

3 Commits

Author SHA1 Message Date
405d7abb25 style(ci): sort args
All checks were successful
Build / build-amd64 (push) Successful in 2m58s
Lint Markdown files / markdown-lint (push) Successful in 30s
Build / build-arm64 (push) Successful in 7m23s
2025-11-02 22:33:52 +01:00
c4a5b87082 docs(README): adapt example
All checks were successful
Build / build-amd64 (push) Successful in 2m21s
Lint Markdown files / markdown-lint (push) Successful in 4s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 5s
Build / build-arm64 (push) Successful in 7m1s
2025-10-30 22:57:44 +01:00
d84cc78259 fix(ci): add missing DC_VERSION
Some checks failed
Build / build-amd64 (push) Has been cancelled
Build / build-arm64 (push) Has been cancelled
Lint Markdown files / markdown-lint (push) Has been cancelled
2025-10-30 22:56:44 +01:00
3 changed files with 14 additions and 12 deletions

View File

@@ -8,9 +8,9 @@ env:
on: on:
pull_request: pull_request:
types: types:
- "opened" - opened
- "reopened" - reopened
- "synchronize" - synchronize
push: push:
branches: branches:
- master - master

View File

@@ -47,14 +47,15 @@ jobs:
- name: Build and push image - name: Build and push image
run: | run: |
docker buildx build \ docker buildx build \
--build-arg DC_VERSION=${{ steps.version_extraction.outputs.version_raw }} \
--build-arg GONOSUMDB=${GONOSUMDB} \ --build-arg GONOSUMDB=${GONOSUMDB} \
--build-arg GOPRIVATE=${GOPRIVATE} \ --build-arg GOPRIVATE=${GOPRIVATE} \
--build-arg GOPROXY=${GOPROXY} \ --build-arg GOPROXY=${GOPROXY} \
--platform linux/arm64 \
--file Dockerfile \ --file Dockerfile \
--platform linux/arm64 \
--provenance false \ --provenance false \
--tag git.cryptic.systems/volker.raschek/docker-compose:${{ steps.version_extraction.outputs.version_cleaned }}-arm64 \
--push \ --push \
--tag git.cryptic.systems/volker.raschek/docker-compose:${{ steps.version_extraction.outputs.version_cleaned }}-arm64 \
. .
push-amd64: push-amd64:
@@ -89,14 +90,15 @@ jobs:
- name: Build and push image - name: Build and push image
run: | run: |
docker buildx build \ docker buildx build \
--build-arg DC_VERSION=${{ steps.version_extraction.outputs.version_raw }} \
--build-arg GONOSUMDB=${GONOSUMDB} \ --build-arg GONOSUMDB=${GONOSUMDB} \
--build-arg GOPRIVATE=${GOPRIVATE} \ --build-arg GOPRIVATE=${GOPRIVATE} \
--build-arg GOPROXY=${GOPROXY} \ --build-arg GOPROXY=${GOPROXY} \
--platform linux/amd64 \
--file Dockerfile \ --file Dockerfile \
--platform linux/amd64 \
--provenance false \ --provenance false \
--tag git.cryptic.systems/volker.raschek/docker-compose:${{ steps.version_extraction.outputs.version_cleaned }}-amd64 \
--push \ --push \
--tag git.cryptic.systems/volker.raschek/docker-compose:${{ steps.version_extraction.outputs.version_cleaned }}-amd64 \
. .
push-manifest: push-manifest:

View File

@@ -14,9 +14,9 @@ image.
IMAGE_VERSION=2.40.3 IMAGE_VERSION=2.40.3
docker run \ docker run \
--rm \ --rm \
--volume ./path/to/docker-compose.yml:/workdir/docker-compose.yml:ro \ --volume "$(pwd):$(pwd)" \
--volume /var/run/docker.sock:/var/run/docker.sock \ --volume /var/run/docker.sock:/var/run/docker.sock \
--workdir /workdir \ --workdir "$(pwd)" \
git.cryptic.systems/volker.raschek/docker-compose:${IMAGE_VERSION} \ "git.cryptic.systems/volker.raschek/docker-compose:${IMAGE_VERSION}" \
ps version
``` ```