diff --git a/.github/workflows/publish-on-tag.yml b/.github/workflows/publish-on-tag.yml deleted file mode 100644 index d4ec6c6..0000000 --- a/.github/workflows/publish-on-tag.yml +++ /dev/null @@ -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 }} \ No newline at end of file