You've already forked docker-compose-docker
Compare commits
1 Commits
v2.36.1
...
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 \
|
||||||
|
46
.gitea/workflows/markdown-linters.yaml
Normal file
46
.gitea/workflows/markdown-linters.yaml
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
name: Markdown linter
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths: [ "**/*.md" ]
|
||||||
|
types: [ "opened", "reopened", "synchronize" ]
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '**'
|
||||||
|
paths: [ "**/*.md" ]
|
||||||
|
tags-ignore:
|
||||||
|
- '**'
|
||||||
|
workflow_dispatch: {}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
markdown-link-checker:
|
||||||
|
container:
|
||||||
|
image: docker.io/library/node:23.11.0-alpine
|
||||||
|
runs-on:
|
||||||
|
- ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Install tooling
|
||||||
|
run: |
|
||||||
|
apk update
|
||||||
|
apk add git npm
|
||||||
|
- uses: actions/checkout@v4.2.2
|
||||||
|
- name: Verify links in markdown files
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run readme:link
|
||||||
|
|
||||||
|
markdown-lint:
|
||||||
|
container:
|
||||||
|
image: docker.io/library/node:23.11.0-alpine
|
||||||
|
runs-on:
|
||||||
|
- ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Install tooling
|
||||||
|
run: |
|
||||||
|
apk update
|
||||||
|
apk add git
|
||||||
|
- uses: actions/checkout@v4.2.2
|
||||||
|
- name: Lint markdown files
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run readme:lint
|
@ -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
|
|
@ -56,6 +56,8 @@ MD013:
|
|||||||
tables: false
|
tables: false
|
||||||
# Include headings
|
# Include headings
|
||||||
headings: true
|
headings: true
|
||||||
|
# Include headings
|
||||||
|
headers: true
|
||||||
# Strict length checking
|
# Strict length checking
|
||||||
strict: false
|
strict: false
|
||||||
# Stern length checking
|
# Stern length checking
|
||||||
@ -68,6 +70,11 @@ MD022:
|
|||||||
# Blank lines below heading
|
# Blank lines below heading
|
||||||
lines_below: 1
|
lines_below: 1
|
||||||
|
|
||||||
|
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
|
||||||
|
MD024:
|
||||||
|
# Only check sibling headings
|
||||||
|
allow_different_nesting: true
|
||||||
|
|
||||||
# MD025/single-title/single-h1 - Multiple top-level headings in the same document
|
# MD025/single-title/single-h1 - Multiple top-level headings in the same document
|
||||||
MD025:
|
MD025:
|
||||||
# Heading level
|
# Heading level
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM docker.io/library/golang:1.24.3-alpine3.21 AS build
|
FROM docker.io/library/golang:1.24.2-alpine3.21 AS build
|
||||||
|
|
||||||
ARG DC_VERSION=main
|
ARG DC_VERSION=main
|
||||||
|
|
||||||
|
5
Makefile
5
Makefile
@ -1,6 +1,6 @@
|
|||||||
# DC_VERSION
|
# DC_VERSION
|
||||||
# Only required to install a specify version
|
# Only required to install a specifiy version
|
||||||
DC_VERSION?=v2.36.1 # renovate: datasource=github-releases depName=docker/compose
|
DC_VERSION?=v2.35.1 # renovate: datasource=github-releases depName=docker/compose
|
||||||
|
|
||||||
# CONTAINER_RUNTIME
|
# CONTAINER_RUNTIME
|
||||||
# The CONTAINER_RUNTIME variable will be used to specified the path to a container runtime. This is needed to start and
|
# The CONTAINER_RUNTIME variable will be used to specified the path to a container runtime. This is needed to start and
|
||||||
@ -34,6 +34,7 @@ container-image/build:
|
|||||||
PHONY:=container-image/delete
|
PHONY:=container-image/delete
|
||||||
container-image/delete:
|
container-image/delete:
|
||||||
- ${CONTAINER_RUNTIME} image rm ${DC_IMAGE_FULLY_QUALIFIED}
|
- ${CONTAINER_RUNTIME} image rm ${DC_IMAGE_FULLY_QUALIFIED}
|
||||||
|
- ${CONTAINER_RUNTIME} image rm ${BASE_IMAGE_FULL}
|
||||||
|
|
||||||
# PUSH CONTAINER IMAGE
|
# PUSH CONTAINER IMAGE
|
||||||
# =====================================================================================================================
|
# =====================================================================================================================
|
||||||
|
20
README.md
20
README.md
@ -1,21 +1,9 @@
|
|||||||
# docker-compose
|
# docker-compose-docker
|
||||||
|
|
||||||
[](https://hub.docker.com/r/volkerraschek/docker-compose)
|
[](https://hub.docker.com/r/volkerraschek/docker-compose)
|
||||||
|
|
||||||
This project contains all sources to build the container image `git.cryptic.systems/volker.raschek/docker-compose`. The
|
This project contains all sources to build the container image `docker.io/volkerraschek/docker-compose`. The primary
|
||||||
primary goal of this project is to package the binary `docker-compose` as container image. The source code of the binary
|
goal of this project is to package the binary `docker-compose` as container image. The source code of the binary can be
|
||||||
can be 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",
|
||||||
|
Reference in New Issue
Block a user