You've already forked docker-compose-docker
Compare commits
53 Commits
v2.29.2
...
2b349dd249
Author | SHA1 | Date | |
---|---|---|---|
2b349dd249
|
|||
0fa77dcdc4
|
|||
0cb2cf6f08
|
|||
0e183593f8
|
|||
6840d711ef
|
|||
300a24807b
|
|||
efba7d9140
|
|||
b6cf651a15
|
|||
1d3f0dd08e
|
|||
7335c15d79
|
|||
56176dd60f
|
|||
476a48c711
|
|||
0f23c958ed
|
|||
4b39e316bc
|
|||
7e02cf3679
|
|||
c3c0abe10c
|
|||
9357cae0f6 | |||
d57afc78b2
|
|||
374ccf2a8d
|
|||
8a293f879b
|
|||
364f82988e
|
|||
69cd77a127
|
|||
aea83db1a3
|
|||
4e8e906b4b | |||
b09cfe13ba
|
|||
99258a62fe
|
|||
bea9074351 | |||
9dda057297
|
|||
b39cd2b15c
|
|||
afdb5f536f
|
|||
f4639818f7
|
|||
1ce4ba1d30
|
|||
e3123d4e9e
|
|||
ccafd1f900
|
|||
0182335d70
|
|||
e7b2bd583b
|
|||
bdb78e875d
|
|||
4662a8abb6 | |||
9f5a36fe4a | |||
5c3ca22254 | |||
65213df579
|
|||
158e15c793
|
|||
54dd1fb74b
|
|||
2cdce36808
|
|||
24d01aad51
|
|||
fdcd8bec3f
|
|||
5231929d5e
|
|||
3239febf58
|
|||
09345b7f7f
|
|||
04b19afe88
|
|||
8bc58829ea | |||
883c9ab338 | |||
5700f17491
|
44
.drone.yml
44
.drone.yml
@ -11,12 +11,12 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: markdown lint
|
- name: markdown lint
|
||||||
commands:
|
commands:
|
||||||
- markdownlint *.md
|
- markdownlint *.md
|
||||||
image: git.cryptic.systems/volker.raschek/markdownlint:0.38.0
|
image: git.cryptic.systems/volker.raschek/markdownlint:0.44.0
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
@ -66,10 +66,10 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:20.17.2
|
image: harbor.cryptic.systems/docker/plugins/docker:20.18.8
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@ -132,10 +132,10 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:20.17.2
|
image: harbor.cryptic.systems/docker/plugins/docker:20.18.8
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@ -198,10 +198,10 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:20.17.2
|
image: harbor.cryptic.systems/docker/plugins/docker:20.18.8
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@ -262,10 +262,10 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:20.17.2
|
image: harbor.cryptic.systems/docker/plugins/docker:20.18.8
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@ -328,10 +328,10 @@ node_selector:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build-manifest
|
- name: build-manifest
|
||||||
image: docker.io/plugins/manifest:1.4.0
|
image: harbor.cryptic.systems/docker/plugins/manifest:1.4.0
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
@ -385,7 +385,7 @@ depends_on:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: latest-sync
|
- name: latest-sync
|
||||||
commands:
|
commands:
|
||||||
@ -399,7 +399,7 @@ steps:
|
|||||||
from_secret: container_image_registry_user
|
from_secret: container_image_registry_user
|
||||||
DEST_CRED_PASSWORD:
|
DEST_CRED_PASSWORD:
|
||||||
from_secret: container_image_registry_password
|
from_secret: container_image_registry_password
|
||||||
image: quay.io/skopeo/stable:v1.14.0
|
image: quay.io/skopeo/stable:v1.18.0
|
||||||
|
|
||||||
- name: email-notification
|
- name: email-notification
|
||||||
environment:
|
environment:
|
||||||
@ -446,10 +446,10 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:20.17.2
|
image: harbor.cryptic.systems/docker/plugins/docker:20.18.8
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: amd64
|
auto_tag_suffix: amd64
|
||||||
@ -506,10 +506,10 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:20.17.2
|
image: harbor.cryptic.systems/docker/plugins/docker:20.18.8
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: arm64-v8
|
auto_tag_suffix: arm64-v8
|
||||||
@ -571,10 +571,10 @@ node_selector:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build-manifest
|
- name: build-manifest
|
||||||
image: docker.io/plugins/manifest:1.4.0
|
image: harbor.cryptic.systems/docker/plugins/manifest:1.4.0
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
@ -625,7 +625,7 @@ depends_on:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: tagged-sync
|
- name: tagged-sync
|
||||||
commands:
|
commands:
|
||||||
@ -639,7 +639,7 @@ steps:
|
|||||||
from_secret: container_image_registry_user
|
from_secret: container_image_registry_user
|
||||||
DEST_CRED_PASSWORD:
|
DEST_CRED_PASSWORD:
|
||||||
from_secret: container_image_registry_password
|
from_secret: container_image_registry_password
|
||||||
image: quay.io/skopeo/stable:v1.14.0
|
image: quay.io/skopeo/stable:v1.18.0
|
||||||
|
|
||||||
- name: email-notification
|
- name: email-notification
|
||||||
environment:
|
environment:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM docker.io/library/golang:1.23.0-alpine3.20 AS build
|
FROM docker.io/library/golang:1.24.2-alpine3.21 AS build
|
||||||
|
|
||||||
ARG DC_VERSION=main
|
ARG DC_VERSION=main
|
||||||
|
|
||||||
@ -11,7 +11,7 @@ RUN git clone https://github.com/docker/compose.git --branch ${DC_VERSION} docke
|
|||||||
cd docker-compose && \
|
cd docker-compose && \
|
||||||
make DESTDIR=/cache
|
make DESTDIR=/cache
|
||||||
|
|
||||||
FROM docker.io/library/alpine:3.20
|
FROM docker.io/library/alpine:3.21
|
||||||
|
|
||||||
COPY --from=build /cache/docker-compose /usr/bin/docker-compose
|
COPY --from=build /cache/docker-compose /usr/bin/docker-compose
|
||||||
|
|
||||||
|
10
Makefile
10
Makefile
@ -1,6 +1,6 @@
|
|||||||
# DC_VERSION
|
# DC_VERSION
|
||||||
# Only required to install a specifiy version
|
# Only required to install a specifiy version
|
||||||
DC_VERSION?=v2.29.2 # renovate: datasource=github-releases depName=docker/compose
|
DC_VERSION?=v2.34.0 # 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
|
||||||
@ -9,14 +9,13 @@ CONTAINER_RUNTIME?=$(shell which podman)
|
|||||||
|
|
||||||
# DC_IMAGE_REGISTRY_NAME
|
# DC_IMAGE_REGISTRY_NAME
|
||||||
# Defines the name of the new container to be built using several variables.
|
# Defines the name of the new container to be built using several variables.
|
||||||
DC_IMAGE_REGISTRY_NAME:=git.cryptic.systems
|
DC_IMAGE_REGISTRY_NAME?=git.cryptic.systems
|
||||||
DC_IMAGE_REGISTRY_USER:=volker.raschek
|
DC_IMAGE_REGISTRY_USER?=volker.raschek
|
||||||
|
|
||||||
DC_IMAGE_NAMESPACE?=${DC_IMAGE_REGISTRY_USER}
|
DC_IMAGE_NAMESPACE?=${DC_IMAGE_REGISTRY_USER}
|
||||||
DC_IMAGE_NAME:=docker-compose
|
DC_IMAGE_NAME:=docker-compose
|
||||||
DC_IMAGE_VERSION?=latest
|
DC_IMAGE_VERSION?=latest
|
||||||
DC_IMAGE_FULLY_QUALIFIED=${DC_IMAGE_REGISTRY_NAME}/${DC_IMAGE_NAMESPACE}/${DC_IMAGE_NAME}:${DC_IMAGE_VERSION}
|
DC_IMAGE_FULLY_QUALIFIED=${DC_IMAGE_REGISTRY_NAME}/${DC_IMAGE_NAMESPACE}/${DC_IMAGE_NAME}:${DC_IMAGE_VERSION}
|
||||||
DC_IMAGE_UNQUALIFIED=${DC_IMAGE_NAMESPACE}/${DC_IMAGE_NAME}:${DC_IMAGE_VERSION}
|
|
||||||
|
|
||||||
# BUILD CONTAINER IMAGE
|
# BUILD CONTAINER IMAGE
|
||||||
# =====================================================================================================================
|
# =====================================================================================================================
|
||||||
@ -28,14 +27,13 @@ container-image/build:
|
|||||||
--no-cache \
|
--no-cache \
|
||||||
--pull \
|
--pull \
|
||||||
--tag ${DC_IMAGE_FULLY_QUALIFIED} \
|
--tag ${DC_IMAGE_FULLY_QUALIFIED} \
|
||||||
--tag ${DC_IMAGE_UNQUALIFIED} \
|
|
||||||
.
|
.
|
||||||
|
|
||||||
# DELETE CONTAINER IMAGE
|
# DELETE CONTAINER IMAGE
|
||||||
# =====================================================================================================================
|
# =====================================================================================================================
|
||||||
PHONY:=container-image/delete
|
PHONY:=container-image/delete
|
||||||
container-image/delete:
|
container-image/delete:
|
||||||
- ${CONTAINER_RUNTIME} image rm ${DC_IMAGE_FULLY_QUALIFIED} ${DC_IMAGE_UNQUALIFIED}
|
- ${CONTAINER_RUNTIME} image rm ${DC_IMAGE_FULLY_QUALIFIED}
|
||||||
- ${CONTAINER_RUNTIME} image rm ${BASE_IMAGE_FULL}
|
- ${CONTAINER_RUNTIME} image rm ${BASE_IMAGE_FULL}
|
||||||
|
|
||||||
# PUSH CONTAINER IMAGE
|
# PUSH CONTAINER IMAGE
|
||||||
|
@ -1,40 +1,16 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"assignees": [ "volker.raschek" ],
|
"extends": [
|
||||||
"labels": [ "renovate" ],
|
"local>volker.raschek/renovate-config:default#master",
|
||||||
|
"local>volker.raschek/renovate-config:container#master",
|
||||||
|
"local>volker.raschek/renovate-config:actions#master",
|
||||||
|
"local>volker.raschek/renovate-config:regexp#master"
|
||||||
|
],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"addLabels": [ "renovate/droneci", "renovate/automerge" ],
|
|
||||||
"automerge": true,
|
|
||||||
"matchManagers": "droneci",
|
|
||||||
"matchUpdateTypes": [ "minor", "patch"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Automatically update patch version of used container images in docker files",
|
|
||||||
"addLabels": [ "renovate/container-image", "renovate/automerge" ],
|
|
||||||
"automerge": true,
|
|
||||||
"matchBaseBranches": [ "master" ],
|
|
||||||
"matchManagers": [ "dockerfile" ],
|
|
||||||
"matchUpdateTypes": [ "patch" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"addLabels": [ "renovate/docker-compose", "renovate/automerge" ],
|
|
||||||
"automerge": false,
|
"automerge": false,
|
||||||
"matchPackageNames": [ "docker-compose" ],
|
"matchPackageNames": [ "docker-compose" ],
|
||||||
"matchManagers": [ "regex" ]
|
"matchManagers": [ "regex" ]
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"rebaseLabel": "renovate/rebase",
|
|
||||||
"rebaseWhen": "behind-base-branch",
|
|
||||||
"regexManagers": [
|
|
||||||
{
|
|
||||||
"description": "Update version",
|
|
||||||
"fileMatch": [
|
|
||||||
"^Makefile$"
|
|
||||||
],
|
|
||||||
"matchStrings": [
|
|
||||||
"DC_VERSION\\?=(?<currentValue>.*) # renovate: datasource=(?<datasource>.*) depName=(?<depName>.*)( lookupName=(?<lookupName>.*))?( versioning=(?<versioning>.*))?"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user