parent
73431ff6f3
commit
fa32424402
1 changed files with 11 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue