minimal-dockerfile
gapodo 2022-12-08 00:59:21 +01:00
parent 86875a760e
commit 0b0c65e797
1 changed files with 5 additions and 2 deletions

View File

@ -96,15 +96,18 @@ pipeline:
debug:
image: *golang_image
pull: true
environment:
TAG: ${CI_COMMIT_TAG##v}
commands:
- env | grep -vi drone | sort -h
- 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
- touch /source/dist/release/forgejo-${TAG:-main}-linux-arm64
- touch /source/dist/release/forgejo-${TAG:-main}-linux-amd64
- mkdir tmp-bin
- cp -r dist/* tmp-bin/
- ls -la tmp-bin/*
build-docker:
image: *buildx_plugin_image
pull: true