dockerize & autobuild
Some checks failed
Release / publish (push) Failing after 20s

This commit is contained in:
u80864958
2024-09-26 17:03:10 +02:00
parent 073bf775db
commit 76a3047f7f
2 changed files with 61 additions and 0 deletions

31
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: Release
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: https://github.com/actions/checkout@v4
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3
with:
config-inline: |
[registry."git.schreifuchs.ch"]
http = true
insecure = true
- name: login
run: docker login -u schreifuchs -p ${{ secrets.REGISTRY_TOKEN }} git.schreifuchs.ch
- name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: "git.schreifuchs.ch/aspergerli/Webchance:latest"