Compare commits

..

6 Commits

Author SHA1 Message Date
b0c04c0133
chore(deps): update dependency docker/compose to v2.35.1
Some checks failed
Markdown linter / markdown-lint (push) Failing after 12s
Markdown linter / markdown-link-checker (push) Failing after 20s
Build / build-amd64 (pull_request) Successful in 7m56s
Build / build-arm64 (pull_request) Successful in 10m37s
2025-05-06 22:04:01 +00:00
2efe2c8db2
revert(ci): use semver instead sed
Some checks failed
Build / build-arm64 (push) Has been cancelled
Build / build-amd64 (push) Has been cancelled
Release / push-amd64 (push) Successful in 9m12s
Release / push-arm64 (push) Successful in 10m54s
Release / push-manifest (push) Successful in 12s
Release / sync-to-hub-docker-io (push) Successful in 1m6s
This reverts commit 441f3a62f1ef095cae86a45b7658f52b31978181.
2025-05-06 22:53:42 +02:00
441f3a62f1
fix(ci): use semver instead sed
Some checks failed
Build / build-arm64 (push) Has been cancelled
Build / build-amd64 (push) Has been cancelled
Release / push-amd64 (push) Failing after 48s
Release / push-arm64 (push) Successful in 10m46s
Release / push-manifest (push) Has been skipped
Release / sync-to-hub-docker-io (push) Has been skipped
2025-05-06 22:45:22 +02:00
b8e540a75b
docs(README): add example
Some checks failed
Build / build-amd64 (push) Successful in 7m59s
Markdown linter / markdown-link-checker (push) Failing after 26s
Markdown linter / markdown-lint (push) Failing after 12s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 13s
Build / build-arm64 (push) Successful in 10m31s
2025-05-06 22:18:42 +02:00
3afb5a8ebf
fix(ci): sync to docker.io
Some checks failed
Build / build-amd64 (push) Has been cancelled
Build / build-arm64 (push) Has been cancelled
2025-05-06 22:10:01 +02:00
f9cf3d2bd4
fix(ci): latest
Some checks failed
Build / build-amd64 (push) Has been cancelled
Build / build-arm64 (push) Has been cancelled
2025-05-06 22:04:01 +02:00
5 changed files with 67 additions and 3 deletions

View File

@ -21,7 +21,7 @@ jobs:
- name: Build image - name: Build image
run: | run: |
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm') TAG=latest
docker buildx build \ docker buildx build \
--platform linux/arm64 \ --platform linux/arm64 \
@ -39,7 +39,7 @@ jobs:
- name: Build image - name: Build image
run: | run: |
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm') TAG=latest
docker buildx build \ docker buildx build \
--platform linux/amd64 \ --platform linux/amd64 \

View File

@ -77,3 +77,23 @@ jobs:
--amend git.cryptic.systems/volker.raschek/docker-compose:${TAG}-arm64 --amend git.cryptic.systems/volker.raschek/docker-compose:${TAG}-arm64
docker manifest push git.cryptic.systems/volker.raschek/docker-compose:${TAG} docker manifest push git.cryptic.systems/volker.raschek/docker-compose:${TAG}
sync-to-hub-docker-io:
needs:
- push-manifest
runs-on: ubuntu-latest
steps:
- name: Copy images to docker.io
run: |
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
apt-get update --yes
apt-get install --yes skopeo
skopeo copy \
--all \
--dest-password ${{ secrets.DOCKER_IO_PASSWORD }} \
--dest-username ${{ secrets.DOCKER_IO_USERNAME }} \
--src-password ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} \
--src-username volker.raschek \
docker://git.cryptic.systems/volker.raschek/docker-compose:${TAG} \
docker://docker.io/volkerraschek/docker-compose:${TAG}

View File

@ -0,0 +1,21 @@
name: Update Docker Hub Description
on:
push:
branches:
- master
paths:
- README.md
jobs:
update-description-on-hub-docker-io:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: peter-evans/dockerhub-description@v4.0.2
with:
username: ${{ secrets.DOCKER_IO_USERNAME }}
password: ${{ secrets.DOCKER_IO_PASSWORD }}
repository: volkerraschek/docker-compose
readme-filepath: README.md

View File

@ -7,3 +7,15 @@ goal of this project is to package the binary `docker-compose` as container imag
found in the upstream project of [docker/compose](https://github.com/docker/compose). found in the upstream project of [docker/compose](https://github.com/docker/compose).
The workflow or how `docker-compose` can in general be used is documented [here](https://docs.docker.com/compose/). The workflow or how `docker-compose` can in general be used is documented [here](https://docs.docker.com/compose/).
Nevertheless, here are some examples of how to use the container image.
```bash
IMAGE_VERSION=2.34.0
docker run \
--rm \
--volume ./path/to/docker-compose.yml:/workdir/docker-compose.yml:ro \
--volume /var/run/docker.sock:/var/run/docker.sock \
--workdir /workdir \
git.cryptic.systems/volker.raschek/docker-compose:${IMAGE_VERSION} \
ps
```

View File

@ -1,5 +1,16 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"customManagers": [
{
"fileMatch": ["^README\\.md$"],
"matchStrings": [
"VERSION=(?<currentValue>.*)"
],
"depNameTemplate": "volker.raschek/docker-compose",
"datasourceTemplate": "docker",
"registryUrlTemplate": "https://git.cryptic.systems"
}
],
"extends": [ "extends": [
"local>volker.raschek/renovate-config:default#master", "local>volker.raschek/renovate-config:default#master",
"local>volker.raschek/renovate-config:container#master", "local>volker.raschek/renovate-config:container#master",