You've already forked docker-compose-docker
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
405d7abb25
|
|||
|
c4a5b87082
|
|||
|
d84cc78259
|
@@ -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
|
||||||
|
|||||||
@@ -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:
|
||||||
@@ -159,4 +161,4 @@ jobs:
|
|||||||
--src-password ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} \
|
--src-password ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} \
|
||||||
--src-username volker.raschek \
|
--src-username volker.raschek \
|
||||||
docker://git.cryptic.systems/volker.raschek/docker-compose:${{ steps.version_extraction.outputs.version_cleaned }} \
|
docker://git.cryptic.systems/volker.raschek/docker-compose:${{ steps.version_extraction.outputs.version_cleaned }} \
|
||||||
docker://docker.io/volkerraschek/docker-compose:${{ steps.version_extraction.outputs.version_cleaned }}
|
docker://docker.io/volkerraschek/docker-compose:${{ steps.version_extraction.outputs.version_cleaned }}
|
||||||
|
|||||||
@@ -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
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user