From 0d54f53f0219266f0f56bd6b1e3793225f7e9920 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Tue, 7 Feb 2023 12:21:28 +0100 Subject: [PATCH] Fix yaml syntax --- .github/workflows/container-stable.yaml | 73 ++++++++++++------------- 1 file changed, 36 insertions(+), 37 deletions(-) diff --git a/.github/workflows/container-stable.yaml b/.github/workflows/container-stable.yaml index e7810cb..53631bc 100644 --- a/.github/workflows/container-stable.yaml +++ b/.github/workflows/container-stable.yaml @@ -4,9 +4,9 @@ name: "Stable container" on: push: # branches: - # - main + # - main # paths: - # - "src/**" + # - "src/**" jobs: containerization: @@ -48,39 +48,38 @@ jobs: actor=${{ github.actor }} sha=${{ github.sha }} ref=${{ github.ref }} + - name: Build helmfile + uses: docker/build-push-action@v2 + with: + builder: ${{ steps.buildx.outputs.name }} + context: ./dockerfiles + file: ./Dockerfile-helmfile + platforms: linux/amd64,linux/arm64 + push: true + tags: | + ghcr.io/allanger/${{ env.GITHUB_REPOSITORY }}-helmfile:latest + ghcr.io/allanger/${{ env.GITHUB_REPOSITORY }}-helmfile:stable + labels: | + action_id=${{ github.action }} + action_link=${{ env.LINK }} + actor=${{ github.actor }} + sha=${{ github.sha }} + ref=${{ github.ref }} - - name: Build helmfile - uses: docker/build-push-action@v2 - with: - builder: ${{ steps.buildx.outputs.name }} - context: ./dockerfiles - file: ./Dockerfile-helmfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/allanger/${{ env.GITHUB_REPOSITORY }}-helmfile:latest - ghcr.io/allanger/${{ env.GITHUB_REPOSITORY }}-helmfile:stable - labels: | - action_id=${{ github.action }} - action_link=${{ env.LINK }} - actor=${{ github.actor }} - sha=${{ github.sha }} - ref=${{ github.ref }} - - - name: Build argo - uses: docker/build-push-action@v2 - with: - builder: ${{ steps.buildx.outputs.name }} - context: ./dockerfiles - file: ./Dockerfile-argo - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/allanger/${{ env.GITHUB_REPOSITORY }}-argo:latest - ghcr.io/allanger/${{ env.GITHUB_REPOSITORY }}-argo:stable - labels: | - action_id=${{ github.action }} - action_link=${{ env.LINK }} - actor=${{ github.actor }} - sha=${{ github.sha }} - ref=${{ github.ref }} + - name: Build argo + uses: docker/build-push-action@v2 + with: + builder: ${{ steps.buildx.outputs.name }} + context: ./dockerfiles + file: ./Dockerfile-argo + platforms: linux/amd64,linux/arm64 + push: true + tags: | + ghcr.io/allanger/${{ env.GITHUB_REPOSITORY }}-argo:latest + ghcr.io/allanger/${{ env.GITHUB_REPOSITORY }}-argo:stable + labels: | + action_id=${{ github.action }} + action_link=${{ env.LINK }} + actor=${{ github.actor }} + sha=${{ github.sha }} + ref=${{ github.ref }}