blossom-cloudron/.gitea/workflows/package.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 12: cannot unmarshal !!seq into model.Job
2024-11-04 16:09:32 +01:00

27 lines
687 B
YAML

name: Release to Gitea Container Registry
on:
push:
branches:
- main
jobs:
build_and_release:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Log in to local registry
uses: docker/login-action@v3
with:
registry: my.gitea.com
username: ${{ gitea.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }} # gitea.token doesn't work for push, provide a personal access token
- name: Build Docker image
run: docker build -t git.nostrdev.com/stuff/blossom-cloudron .
- name: Push Docker image
run: docker push git.nostrdev.com/stuff/blossom-cloudron