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 }}"