extra-docker-images.yml
1 name: extra-docker-images 2 3 on: 4 push: 5 branches: 6 - 'master' 7 - 'releases/v*' 8 tags: 9 - 'v*' 10 jobs: 11 docker: 12 if: github.repository == 'fedimint/fedimint' 13 runs-on: ubuntu-latest 14 steps: 15 - name: Set up QEMU 16 uses: docker/setup-qemu-action@v3 17 - name: Set up Docker Buildx 18 uses: docker/setup-buildx-action@v3 19 - name: Login to Docker Hub 20 uses: docker/login-action@v3 21 with: 22 username: fedimint 23 password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} 24 - name: Docker meta for mutinynet-bitcoind 25 id: meta-mutinynet-bitcoind 26 uses: docker/metadata-action@v5 27 with: 28 images: | 29 fedimint/mutinynet-bitcoind 30 tags: | 31 type=ref,event=branch 32 type=ref,event=pr 33 type=semver,pattern={{version}} 34 type=semver,pattern={{major}}.{{minor}} 35 type=sha 36 - name: Build and push mutinynet-bitcoind 37 uses: docker/build-push-action@v6 38 with: 39 file: docker/latest/mutinynet-bitcoind-docker/Dockerfile 40 push: true 41 tags: ${{ steps.meta-mutinynet-bitcoind.outputs.tags }} 42 labels: ${{ steps.meta-mutinynet-bitcoind.outputs.labels }} 43 - name: Docker meta for xmpp-prosody-chat-server 44 id: meta-xmpp-prosody 45 uses: docker/metadata-action@v5 46 with: 47 images: | 48 fedimint/xmpp-prosody-chat-server 49 tags: | 50 type=ref,event=branch 51 type=ref,event=pr 52 type=semver,pattern={{version}} 53 type=semver,pattern={{major}}.{{minor}} 54 type=sha 55 - name: Build and push xmpp-prosody-chat-server 56 uses: docker/build-push-action@v6 57 with: 58 context: "{{defaultContext}}:docker/latest/full-tls-mutinynet/prosody" 59 push: true 60 tags: ${{ steps.meta-xmpp-prosody.outputs.tags }} 61 labels: ${{ steps.meta-xmpp-prosody.outputs.labels }}