fixed?
parent
ab3628e039
commit
4a7876313b
|
@ -97,21 +97,17 @@ pipeline:
|
|||
image: *golang_image
|
||||
pull: true
|
||||
commands:
|
||||
- pwd
|
||||
- ls -la /
|
||||
- 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-amd64
|
||||
- ls -la ./dist/*
|
||||
- mkdir tmp-bin
|
||||
- cp -r dist/release/* tmp-bin/
|
||||
|
||||
build-docker:
|
||||
image: *buildx_plugin_image
|
||||
pull: true
|
||||
settings:
|
||||
context: '/source'
|
||||
debug: 'true'
|
||||
dockerfile: Dockerfile.ci
|
||||
no_cache: 'true'
|
||||
platforms: *docker_platforms
|
||||
registry:
|
||||
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}"
|
||||
|
||||
# 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 ./dist/release/forgejo-$TAG-linux-arm64 "${OUT}/linux/arm64/gitea"
|
||||
COPY --chmod=755 tmp-bin/release/forgejo-$TAG-linux-amd64 "${OUT}/linux/amd64/gitea"
|
||||
COPY --chmod=755 tmp-bin/release/forgejo-$TAG-linux-arm64 "${OUT}/linux/arm64/gitea"
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
|
|
Loading…
Reference in New Issue