2021-09-02 14:57:59 +02:00
|
|
|
name: Docker build & push
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2024-10-22 06:46:18 +02:00
|
|
|
tags:
|
|
|
|
- latest
|
2021-09-02 14:57:59 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-10-22 06:46:18 +02:00
|
|
|
|
2021-09-02 14:57:59 +02:00
|
|
|
- name: Checkout
|
2024-10-22 06:48:03 +02:00
|
|
|
uses: actions/checkout@v4
|
2024-10-22 06:46:18 +02:00
|
|
|
|
2024-03-03 04:09:41 +01:00
|
|
|
- name: Set up QEMU
|
|
|
|
uses: docker/setup-qemu-action@v3
|
2024-10-22 06:46:18 +02:00
|
|
|
|
2021-09-25 18:38:59 +02:00
|
|
|
- name: build and push
|
|
|
|
if: ${{ env.DOCKER_USERNAME != '' && env.DOCKER_PASSWORD != '' }}
|
2021-09-02 14:57:59 +02:00
|
|
|
env:
|
|
|
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
|
|
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
run: |
|
2024-10-22 06:46:18 +02:00
|
|
|
./build.py --push-tags --multiarch
|