Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,35 @@
name: Build

name: Build and Push image
on:
push:
branches:
- master
- develop

workflow_dispatch:
defaults:
run:
shell: bash

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2

- name: Install Docker Buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@v1
with:
buildx-version: latest

- name: Hadolint Action
uses: brpaz/hadolint-action@v1.1.0
with:
dockerfile: ./docker-compose/telegraf/
- name: hub.docker.com Login
run: |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin

- name: Build the multi-arch image
run: |
docker buildx build \
--push \
--tag tty0/isp_telegraf:1.15.3 \
--tag tty0/isp_telegraf:latest \
--platform linux/amd64,linux/arm/v7,linux/arm64 ./docker-compose/telegraf/

--push \
--tag tty0/isp_telegraf:1.15.3 \
--tag tty0/isp_telegraf:latest \
--platform linux/amd64,linux/arm/v7,linux/arm64 ./docker-compose/telegraf/
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
name: YAML Lint
name: Lint and validate
on:
push:
branches: [ master ]
branches:
- master
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Hadolint Action
uses: brpaz/hadolint-action@v1.1.0
with:
dockerfile: ./docker-compose/telegraf/Dockerfile
- name: YAML Lint
uses: ibiqlik/action-yamllint@v1.0.0
with:
file_or_dir: ./kubernetes/yaml/
config_file: ./.yamllint
file_or_dir: ./kubernetes/yaml/
config_file: ./.yamllint
- name: kube-score check
uses: piraces/kube-score-ga@v0.1.1
with:
Expand All @@ -27,4 +32,3 @@ jobs:
ignore_missing_schemas: true
comment: true
token: ${{ secrets.GH_TOKEN }}

2 changes: 1 addition & 1 deletion kubernetes/ISP-Checker-deploy.MD5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MD5 (../ISP-Checker-deploy.yaml) = 4e5b561cbf506637e17c43a19de50710
MD5 (../ISP-Checker-deploy.yaml) = 6d939c17c2a1f53cce3589bb1648f696
2 changes: 1 addition & 1 deletion kubernetes/ISP-Checker-deploy.SHA512
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SHA512 (../ISP-Checker-deploy.yaml) = d0affaa95716db6581893ede162d12fe040b5fb81af3cc415e075d110586a0fe606743ff3e2b99c9025e5af4e20af814be9e4c52baa4488de7d05e6ca13ef1e5
SHA512 (../ISP-Checker-deploy.yaml) = edf8f35cf0be4d2399f3bbb351af181005177d2a7f23c520ee111991fe8ee330a6de308d8e8c53db7b2b631a3524c3d49792ffec5a957999fb6f5df2fd36d2c8
Loading