20 lines
537 B
YAML
20 lines
537 B
YAML
name: ci
|
|
run-name: Build a new container version
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
Say-hello:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Login to Gitea Container Registry
|
|
uses: https://github.com/docker/login-action@v3
|
|
with:
|
|
username: ${{ secrets.USERNAME }}
|
|
password: ${{ secrets.PASSWORD }}
|
|
- name: Build and push
|
|
uses: https://github.com/docker/build-push-action@v5
|
|
with:
|
|
push: true
|
|
tags: gitea.cheezers.org/${{ gitea.repository }}:latest |