21
.gitea/workflows/cicd.yaml
Normal file
21
.gitea/workflows/cicd.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: cicd
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
cicd:
|
||||
name: cicd
|
||||
runs-on: dind
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: cicd
|
||||
run: |
|
||||
set -euo pipefail
|
||||
v=2.7.3
|
||||
img=registry-app.inhome.blapointe.com:5001/local-containers/influxdb:$v
|
||||
docker rmi -f $img || true
|
||||
docker build -f ./Dockerfile -t $img --build-arg INFLUXDB_VERSION=$v .
|
||||
docker push $img
|
||||
Reference in New Issue
Block a user