From e8f2b14de46fcb7931a79bdd770c06e3ad6470ff Mon Sep 17 00:00:00 2001 From: Rob Date: Tue, 9 Jul 2024 22:39:28 +0200 Subject: [PATCH] changed docker action --- job/build-docker-image.yaml | 38 ------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 job/build-docker-image.yaml diff --git a/job/build-docker-image.yaml b/job/build-docker-image.yaml deleted file mode 100644 index dc7123b..0000000 --- a/job/build-docker-image.yaml +++ /dev/null @@ -1,38 +0,0 @@ -name: Build docker image - -on: - workflow_call: - inputs: - major-version: - required: true - type: number - minor-version: - required: true - type: number - revision-version: - required: true - type: number - image-name: - required: true - type: string - dockerfile: - type: string - default: Dockerfile - -jobs: - build-image: - - steps: - - name: Checkout main - uses: actions/checkout@v4 - - - name: Kaniko build - uses: aevea/action-kaniko@master - with: - image: ${{ input.image-name }} - registry: ${{ vars.GLOBAL_REGISTRY_URL }} - username: ${{ secrets.REGISTRY_USER }} - password: ${{ secrets.REGISTRY_TOKEN }} - build_file: ${{ input.dockerfile }} - tag: ${{ input.major }}.${{ input.minor }}.${{ input.revision }} - cache: true \ No newline at end of file