Compare commits
6 Commits
2dbff34346
...
b0c04c0133
Author | SHA1 | Date | |
---|---|---|---|
b0c04c0133 | |||
2efe2c8db2 | |||
441f3a62f1 | |||
b8e540a75b | |||
3afb5a8ebf | |||
f9cf3d2bd4 |
@ -21,7 +21,7 @@ jobs:
|
||||
|
||||
- name: Build image
|
||||
run: |
|
||||
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
||||
TAG=latest
|
||||
|
||||
docker buildx build \
|
||||
--platform linux/arm64 \
|
||||
@ -39,7 +39,7 @@ jobs:
|
||||
|
||||
- name: Build image
|
||||
run: |
|
||||
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
||||
TAG=latest
|
||||
|
||||
docker buildx build \
|
||||
--platform linux/amd64 \
|
||||
|
@ -76,4 +76,24 @@ jobs:
|
||||
--amend git.cryptic.systems/volker.raschek/docker-compose:${TAG}-amd64 \
|
||||
--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}
|
21
.gitea/workflows/update-docker-hub-description.yaml
Normal file
21
.gitea/workflows/update-docker-hub-description.yaml
Normal 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
|
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
# DC_VERSION
|
||||
# Only required to install a specifiy version
|
||||
DC_VERSION?=v2.35.0 # renovate: datasource=github-releases depName=docker/compose
|
||||
DC_VERSION?=v2.35.1 # renovate: datasource=github-releases depName=docker/compose
|
||||
|
||||
# CONTAINER_RUNTIME
|
||||
# The CONTAINER_RUNTIME variable will be used to specified the path to a container runtime. This is needed to start and
|
||||
|
12
README.md
12
README.md
@ -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).
|
||||
|
||||
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
|
||||
```
|
||||
|
@ -1,5 +1,16 @@
|
||||
{
|
||||
"$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": [
|
||||
"local>volker.raschek/renovate-config:default#master",
|
||||
"local>volker.raschek/renovate-config:container#master",
|
||||
|
Loading…
x
Reference in New Issue
Block a user