Compare commits
1 Commits
b0c04c0133
...
2dbff34346
Author | SHA1 | Date | |
---|---|---|---|
2dbff34346 |
@ -21,7 +21,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
TAG=latest
|
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
||||||
|
|
||||||
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=latest
|
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
||||||
|
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64 \
|
--platform linux/amd64 \
|
||||||
|
@ -76,24 +76,4 @@ jobs:
|
|||||||
--amend git.cryptic.systems/volker.raschek/docker-compose:${TAG}-amd64 \
|
--amend git.cryptic.systems/volker.raschek/docker-compose:${TAG}-amd64 \
|
||||||
--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}
|
|
@ -1,21 +0,0 @@
|
|||||||
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
|
|
12
README.md
12
README.md
@ -7,15 +7,3 @@ 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
|
|
||||||
```
|
|
||||||
|
@ -1,16 +1,5 @@
|
|||||||
{
|
{
|
||||||
"$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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user