This commit is contained in:
Xiretza 2025-02-15 15:37:36 +00:00
parent 73431ff6f3
commit fa32424402

View file

@ -7,13 +7,17 @@ on:
jobs:
build_and_push:
name: Build and push container
runs-on: ubuntu-latest
runs-on: archlinux
steps:
- name: Test step
run: echo foo
- name: Login to registry
run: echo ${{ secrets.CONTAINER_REGISTRY_PASS }} | docker login -u ${{ vars.CONTAINER_REGISTRY_USER }} --password-stdin git.it-syndikat.org
#- name: Set up QEMU
# uses: docker/setup-qemu-action@v3
- name: Build container
run: docker build -f Containerfile.build -t git.it-syndikat.org/it-syndikat/its-matrix-bot-build
- name: Push to registry
run: docker push git.it-syndikat.org/it-syndikat/its-matrix-bot-build
#- name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
file: Containerfile.build
push: true
tags: git.it-syndikat.org/it-syndikat/its-matrix-bot-build