You've already forked docker-compose-docker
Compare commits
1 Commits
fb11864497
...
42470fd83e
Author | SHA1 | Date | |
---|---|---|---|
42470fd83e
|
@@ -63,7 +63,7 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
new_tag=${{ steps.bump.outputs.new_tag }}
|
||||
git config --local user.name "${GIT_USER}"
|
||||
git config --local user.name "${GIT_USERNAME}"
|
||||
git config --local user.email "${GIT_EMAIL}"
|
||||
git tag -a "${new_tag}" -m "${new_tag}"
|
||||
git push origin "${new_tag}"
|
||||
|
@@ -1,9 +1,6 @@
|
||||
FROM docker.io/library/golang:1.25.3-alpine3.21 AS build
|
||||
|
||||
ARG DC_VERSION=main
|
||||
ARG GONOSUMDB
|
||||
ARG GOPRIVATE
|
||||
ARG GOPROXY
|
||||
|
||||
RUN set -ex && \
|
||||
apk update && \
|
||||
|
10
Makefile
10
Makefile
@@ -1,6 +1,6 @@
|
||||
# DC_VERSION
|
||||
# Only required to install a specify version
|
||||
DC_VERSION?=v2.40.0 # renovate: datasource=github-releases depName=docker/compose
|
||||
DC_VERSION?=v2.40.2 # 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
|
||||
@@ -17,20 +17,12 @@ DC_IMAGE_NAME:=docker-compose
|
||||
DC_IMAGE_VERSION?=latest
|
||||
DC_IMAGE_FULLY_QUALIFIED=${DC_IMAGE_REGISTRY_NAME}/${DC_IMAGE_NAMESPACE}/${DC_IMAGE_NAME}:${DC_IMAGE_VERSION}
|
||||
|
||||
# Golang related environment variables
|
||||
GONOSUMDB?=
|
||||
GOPRIVATE?=
|
||||
GOPROXY?=
|
||||
|
||||
# BUILD CONTAINER IMAGE
|
||||
# =====================================================================================================================
|
||||
PHONY:=container-image/build
|
||||
container-image/build:
|
||||
${CONTAINER_RUNTIME} build \
|
||||
--build-arg DC_VERSION=${DC_VERSION} \
|
||||
--build-arg GONOSUMDB=${GONOSUMDB} \
|
||||
--build-arg GOPRIVATE=${GOPRIVATE} \
|
||||
--build-arg GOPROXY=${GOPROXY} \
|
||||
--file Dockerfile \
|
||||
--no-cache \
|
||||
--pull \
|
||||
|
Reference in New Issue
Block a user