Skip to content

chore: use current testnet coordinator with request logging and pasca… #25

chore: use current testnet coordinator with request logging and pasca…

chore: use current testnet coordinator with request logging and pasca… #25

name: "[Build] coinjoin-backend testnet image & push to registry"
on:
push:
branches:
- testnet
jobs:
build_images:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive
- run: make create-git-rev
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ secrets.TREZOR_BOT_USERNAME }}
password: ${{ secrets.TREZOR_BOT_TOKEN }}
- name: Build and push coinjoin-backend
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/coinjoin-backend-testnet:${{ github.sha }}
ghcr.io/${{ github.repository_owner }}/coinjoin-backend-testnet:latest