Compare commits

...

2 Commits

Author SHA1 Message Date
0a67cffe0e
disable workflow 2025-03-07 10:50:18 +01:00
e737207da8
some fix 2025-03-07 10:47:15 +01:00
2 changed files with 2 additions and 44 deletions

View File

@ -1,42 +0,0 @@
name: Publish Docker image on tag
on:
push:
tags:
- 'v*'
jobs:
push_to_dockerhub:
name: Push Docker image to Docker Hub
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Extract metadata
id: meta
run: |
echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: getumbrel/bitcoind:${{ steps.meta.outputs.TAG }}
build-args: |
VERSION=${{ steps.meta.outputs.VERSION }}

View File

@ -9,7 +9,7 @@ WORKDIR /build
RUN echo "Installing build deps"
RUN apt-get update
RUN apt-get install -y wget pgp
RUN apt-get install -y wget pgp curl jq
RUN echo "Deriving tarball name from \$TARGETPLATFORM" && \
case "${TARGETPLATFORM}" in \
@ -27,7 +27,7 @@ RUN echo "Downloaded release assets:" && ls
RUN echo "Verifying PGP signatures"
RUN curl -s "https://api.github.com/repos/bitcoinknots/guix.sigs/contents/builder-keys" | jq -r '.[].download_url' | while read url; do curl -s "$url" | gpg --import; done
RUN gpg --verify SHA256SUMS.asc 2>&1 >/dev/null | grep "^gpg: Good signature from" || { echo "No valid signature"; exit 1; }
RUN gpg --verify SHA256SUMS.asc SHA256SUMS
RUN echo "PGP signature verification passed"
RUN echo "Verifying checksums"