fixed?
ci/woodpecker/tag/compliance-and-tests Pipeline was successful Details
ci/woodpecker/tag/release-version Pipeline failed Details

minimal-dockerfile
gapodo 2022-12-07 22:10:38 +01:00
parent ab3628e039
commit 4a7876313b
2 changed files with 4 additions and 8 deletions

View File

@ -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

View File

@ -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