generated from Templates/Baseline
add gitea release action (#7)
#### 📖 Summary - testing Gitea Actions to create an new release when pushing a tag #### 📑 Test Plan > 💡 Select your test plan for the code changes. - [x] CI pipeline tests - [ ] Custom test - [ ] No test plan ##### Details / Justification <!-- Add your test details or justification for missing tests here. --> #### 📚 Additional Notes <!-- A place for additional detail notes. --> Co-authored-by: OCram85 <marco.blessing@googlemail.com> Reviewed-on: #7
This commit is contained in:
parent
e1bec95c9d
commit
cb115635ed
22
.gitea/workflows/release.yaml
Normal file
22
.gitea/workflows/release.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Use Go Action
|
||||||
|
id: use-go-action
|
||||||
|
uses: actions/release-action@main
|
||||||
|
with:
|
||||||
|
#files: -|
|
||||||
|
api_key: '${{ secrets.TOKEN }}'
|
||||||
|
#title:
|
||||||
|
#body:
|
@ -1,29 +0,0 @@
|
|||||||
name: test
|
|
||||||
|
|
||||||
run-name: docker pipeline
|
|
||||||
|
|
||||||
on: [ 'push' ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
docker:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: catthehacker/ubuntu:act-latest
|
|
||||||
steps:
|
|
||||||
-
|
|
||||||
name: Set up Docker Buildx
|
|
||||||
uses: actions/setup-buildx-action@v2
|
|
||||||
#-
|
|
||||||
# name: Login to Gitea Package Registry
|
|
||||||
# uses: actions/login-action@v2
|
|
||||||
# with:
|
|
||||||
# registry: gitea.ocram85.com
|
|
||||||
# username: ${{ secrets.USERNAME }}
|
|
||||||
# password: ${{ secrets.TOKEN }}
|
|
||||||
-
|
|
||||||
name: Build and push
|
|
||||||
uses: actions/build-push-action@v4
|
|
||||||
with:
|
|
||||||
push: false
|
|
||||||
#tags: gitea.ocram85.com/ocram85/swarmproxy:next
|
|
||||||
tags: ocram85/swarmproxy:test
|
|
Loading…
Reference in New Issue
Block a user