Files
influxdb/.gitea/workflows/cicd.yaml
Bel LaPointe 7e148ec457
All checks were successful
cicd / cicd (push) Successful in 1m25s
set telegraf v
2023-11-11 11:21:14 -07:00

22 lines
487 B
YAML

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 --build-arg TELEGRAF_VERSION=1.28.3 .
docker push $img