Job79 c56c6c39ed
revert: ci: disable QEMU
This reverts commit 280957ca226a2ffce1cee30038d97f083f92a59c.
2024-02-09 16:52:15 +01:00

34 lines
946 B
YAML

name: Container build
on: [ push ]
jobs:
container-build:
runs-on: ubuntu-latest
if: gitea.ref == 'refs/heads/main'
steps:
- name: Clone repo
uses: actions/checkout@v4
- name: Set up BuildX
uses: docker/setup-buildx-action@v2
with:
endpoint: 'unix:///var/run/docker.sock'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Login to Registry
uses: docker/login-action@v3
with:
registry: git.plabble.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: ./Containerfile
platforms: |
linux/amd64
linux/arm64
push: true
tags: |
git.plabble.org/job79/pastabble:latest