From 9afcc9e900c097e6fb50f386dd9affbe8a1670c4 Mon Sep 17 00:00:00 2001 From: cubicroot Date: Sun, 22 Dec 2024 13:19:45 +0100 Subject: [PATCH] add CI to build image --- .github/workflows/main.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..07fb604 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,31 @@ +name: Main +on: + push: + paths-ignore: + - "**.md" + - "**.jpg" + - "**.jpeg" + - "**.png" + - "index.html" + +permissions: + contents: read + checks: write + pages: write + id-token: write + +jobs: + golang_quality: + uses: CubicrootXYZ/Workflows/.github/workflows/golang_quality.yaml@v0.0.16 + + build_image: + uses: CubicrootXYZ/Workflows/.github/workflows/build_image.yaml@v0.0.16 + with: + docker_build_args: "--no-cache" + docker_file_path: "./" + image_name: "cubicrootxyz/remindme" + static_tag: "beta" + vuln_scan: true + secrets: + dockerhub_user: ${{ secrets.DOCKERHUB_USERNAME }} + dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}