first commit
Some checks failed
Release / build-and-push (push) Failing after 55s

This commit is contained in:
Your Name
2025-08-23 09:05:08 +00:00
commit 283a30ec3d
4 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
name: Release
on: [push]
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Log in to GitHub Container Registry
uses: actions/docker-login@v2
with:
registry: git.coocn.cn
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
- name: Build and push Docker image
uses: actions/docker-build@v5
with:
context: .
push: true
tags: git.coocn.cn/${{ github.repository }}