fixed?
This commit is contained in:
parent
ab3628e039
commit
4a7876313b
2 changed files with 4 additions and 8 deletions
|
@ -97,21 +97,17 @@ pipeline:
|
||||||
image: *golang_image
|
image: *golang_image
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- pwd
|
|
||||||
- ls -la /
|
|
||||||
- mkdir -p /source/dist/release
|
- mkdir -p /source/dist/release
|
||||||
- touch /source/dist/release/forgejo-${CI_COMMIT_TAG##v}-linux-arm64
|
- touch /source/dist/release/forgejo-${CI_COMMIT_TAG##v}-linux-arm64
|
||||||
- touch /source/dist/release/forgejo-${CI_COMMIT_TAG##v}-linux-amd64
|
- touch /source/dist/release/forgejo-${CI_COMMIT_TAG##v}-linux-amd64
|
||||||
- ls -la ./dist/*
|
- mkdir tmp-bin
|
||||||
|
- cp -r dist/release/* tmp-bin/
|
||||||
|
|
||||||
build-docker:
|
build-docker:
|
||||||
image: *buildx_plugin_image
|
image: *buildx_plugin_image
|
||||||
pull: true
|
pull: true
|
||||||
settings:
|
settings:
|
||||||
context: '/source'
|
|
||||||
debug: 'true'
|
|
||||||
dockerfile: Dockerfile.ci
|
dockerfile: Dockerfile.ci
|
||||||
no_cache: 'true'
|
|
||||||
platforms: *docker_platforms
|
platforms: *docker_platforms
|
||||||
registry:
|
registry:
|
||||||
from_secret: domain
|
from_secret: domain
|
||||||
|
|
|
@ -24,8 +24,8 @@ RUN test -n "$CI_COMMIT_SHA" || (echo "CI_COMMIT_SHA is required but not set" >&
|
||||||
mkdir -p "${DR}"
|
mkdir -p "${DR}"
|
||||||
|
|
||||||
# Copying the arch specific binaries to the path easily accessible in the next step and rename them to gitea
|
# Copying the arch specific binaries to the path easily accessible in the next step and rename them to gitea
|
||||||
COPY --chmod=755 ./dist/release/forgejo-$TAG-linux-amd64 "${OUT}/linux/amd64/gitea"
|
COPY --chmod=755 tmp-bin/release/forgejo-$TAG-linux-amd64 "${OUT}/linux/amd64/gitea"
|
||||||
COPY --chmod=755 ./dist/release/forgejo-$TAG-linux-arm64 "${OUT}/linux/arm64/gitea"
|
COPY --chmod=755 tmp-bin/release/forgejo-$TAG-linux-arm64 "${OUT}/linux/arm64/gitea"
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue