Skip to content

feat: 1. update dependencies; 2. add more income_fee_rate; 3. update … #15

feat: 1. update dependencies; 2. add more income_fee_rate; 3. update …

feat: 1. update dependencies; 2. add more income_fee_rate; 3. update … #15

Workflow file for this run

name: Docker
on:
push:
tags:
- 'v*'
env:
IMAGE_NAME: ywserver/walletbase
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Build the Docker image
run: |
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker buildx create --use
docker login --username ${{ secrets.CR_USERNAME }} --password ${{ secrets.CR_PASSWORD }} ${{ secrets.CR_REGISTRY }}
IMAGE_TAG="${{ secrets.CR_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}"
TAGS="-t ${IMAGE_TAG}"
docker buildx build --platform='linux/amd64' $TAGS --push .