mirror of
https://github.com/Retropex/docker-bitcoind-prebuilt.git
synced 2025-05-12 19:20:48 +02:00
Create multi-arch manifest
This commit is contained in:
parent
0e1f173cf6
commit
cf0a4e0727
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -65,3 +65,15 @@ jobs:
|
||||
run: echo "${{secrets.DOCKER_TOKEN}}" | docker login -u=lukechilds --password-stdin
|
||||
- name: Push to Docker Hub
|
||||
run: docker push lukechilds/bitcoind
|
||||
- name: Create multi-arch manifest
|
||||
env:
|
||||
DOCKER_CLI_EXPERIMENTAL: enabled # To enable manifests
|
||||
run: |
|
||||
versions=$(docker images lukechilds/bitcoind --format "{{.Tag}}" | grep amd64 | cut -d- -f1)
|
||||
for version in $versions; do
|
||||
tags=$(docker images lukechilds/bitcoind --format "{{.Tag}}" | grep $version- | sed 's/^/lukechilds\/bitcoind\:&/')
|
||||
docker manifest create "lukechilds/bitcoind:${version}" $tags
|
||||
docker manifest push "lukechilds/bitcoind:${version}"
|
||||
docker manifest inspect "lukechilds/bitcoind:${version}"
|
||||
echo
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user