sscdc/.forgejo/workflows/build.yaml
Moritz Ruth 5b6d2c6cf7
Some checks failed
Build / build (push) Failing after 48s
commit 03
2025-02-28 21:40:45 +01:00

29 lines
No EOL
683 B
YAML

name: "Build"
on:
push:
branches:
- dev
tags:
- v**
jobs:
build:
runs-on: "docker"
steps:
- name: "Checkout"
uses: "https://code.forgejo.org/actions/checkout@v4"
- name: "Login to the container registry"
uses: "https://github.com/docker/login-action@v3"
with:
registry: git.moritzruth.de
username: ${{ github.actor }}
password: ${{ github.token }}
- name: "Build and push"
uses: "https://github.com/docker/build-push-action"
with:
file: "Containerfile"
push: true
tags: "git.moritzruth.de/moritzruth/sscdc:${{ github.ref_name }}"