mirror of
https://github.com/Direct-Dev-Ru/go-lcg.git
synced 2025-11-16 01:29:55 +00:00
release v1.1.0
This commit is contained in:
@@ -2,7 +2,7 @@ FROM --platform=${BUILDPLATFORM} golang:1.24.6-alpine3.22 AS builder
|
|||||||
|
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
RUN apk add git
|
# RUN apk add git
|
||||||
#&& go install mvdan.cc/garble@latest
|
#&& go install mvdan.cc/garble@latest
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export GOCACHE="${HOME}/.cache/go-build"
|
|||||||
CURRENT_BRANCH=$(git branch --show-current)
|
CURRENT_BRANCH=$(git branch --show-current)
|
||||||
|
|
||||||
# Function to restore the original branch
|
# Function to restore the original branch
|
||||||
function restore_branch {
|
restore_branch() {
|
||||||
echo "Restoring original branch: ${CURRENT_BRANCH}"
|
echo "Restoring original branch: ${CURRENT_BRANCH}"
|
||||||
git checkout "${CURRENT_BRANCH}"
|
git checkout "${CURRENT_BRANCH}"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user