fix: update amount badge colors #202
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "TwoPi docker build" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
docker-amd: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build and push | |
uses: docker/build-push-action@v6 | |
with: | |
platforms: linux/amd64 | |
push: true | |
tags: ${{ vars.DOCKERHUB_USERNAME }}/twopi:dev-amd64 | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
docker-arm: | |
runs-on: ubuntu-24.04-arm | |
steps: | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build and push | |
uses: docker/build-push-action@v6 | |
with: | |
platforms: linux/arm64 | |
push: true | |
tags: ${{ vars.DOCKERHUB_USERNAME }}/twopi:dev-arm64 | |
cache-from: type=gha | |
cache-to: type=gha,mode=max |