mirror of
https://github.com/drone-plugins/drone-manifest.git
synced 2026-06-04 18:24:08 +08:00
04749753066516e043f9ad61640291e08a33d9ca
This PR contains the following updates: | Package | Type | Update | Change | References | |---|---|---|---|---| | github.com/pkg/errors | require | patch | `v0.8.0` -> `v0.8.1` | [source](https://togithub.com/pkg/errors) | --- ### Release Notes <details> <summary>pkg/errors</summary> ### [`v0.8.1`](https://togithub.com/pkg/errors/releases/v0.8.1) [Compare Source](https://togithub.com/pkg/errors/compare/v0.8.0...v0.8.1) pkg/errors 0.8.1 is a bug fix release for errors 0.8.0. It will be the last version to support Go 1.8 and below. pkg/errors 0.9 and above will require Go 1.9 for the new `runtime.CallersFrames` API. pkg/errors 0.8.1 also adds one new feature, `errors.WithMessagef`. Ideally this would be held over til 0.9, but that complicates the switch to `runtime.CallersFrames`. ### Improvements - Added `errors.WithMessagef`. Thanks [@​chemicL](https://togithub.com/chemicL). ### Bugs fixed - `.travis.yml`. Adjust Go versions. Thanks [@​AlekSi](https://togithub.com/AlekSi), [@​dvrkps](https://togithub.com/dvrkps), [@​HaraldNordgren](https://togithub.com/HaraldNordgren), and [@​komuw](https://togithub.com/komuw) - Fixed gofmt. Thanks [@​tariq1890](https://togithub.com/tariq1890) - Copyedit the package documentation. Thanks [@​seh](https://togithub.com/seh), [@​TomSweeneyRedHat](https://togithub.com/TomSweeneyRedHat), [@​nicksnyder](https://togithub.com/nicksnyder), and [@​beono](https://togithub.com/beono) - Remove unreachable code. Thanks [@​philoserf](https://togithub.com/philoserf) and [@​haya14busa](https://togithub.com/haya14busa) - Move benchmark error sink to global variable. Thanks [@​bradleyfalzon](https://togithub.com/bradleyfalzon) - Fix minor newline consistency issues in test files. Thanks [@​nmiyake](https://togithub.com/nmiyake) - Add doc comment for exported Format func. Thanks [@​mrhwick](https://togithub.com/mrhwick) and [@​ihrwein](https://togithub.com/ihrwein) </details> --- ### Renovate configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`". 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#drone-plugins/drone-manifest).
drone-manifest
Drone plugin to push Docker manifest to a registry for multi-architecture mappings. For the usage information and a listing of the available options please take a look at the docs.
Build
Build the binary with the following commands:
go build
Docker
Build the Docker image with the following commands:
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-manifest
docker build --rm -t plugins/manifest .
Usage
docker run --rm \
-e PLUGIN_PLATFORMS=linux/amd64,linux/arm,linux/arm64 \
-e PLUGIN_TEMPLATE=organization/project-ARCH:1.0.0 \
-e PLUGIN_TARGET=organization/project:1.0.0 \
-v $(pwd):$(pwd) \
-w $(pwd) \
plugins/manifest
Description
Languages
Go
100%