Skip to content

Commit 10e3fca

Browse files
committed
Fix workflow indent
Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com>
1 parent b6deb92 commit 10e3fca

1 file changed

Lines changed: 44 additions & 44 deletions

File tree

.github/workflows/publish_pipedv1_exp.yaml

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -48,51 +48,51 @@ jobs:
4848
./.artifacts/pipedv1_${{ inputs.version }}_darwin_amd64
4949
./.artifacts/pipedv1_${{ inputs.version }}_darwin_arm64
5050
51-
container_image:
52-
runs-on: ubuntu-24.04
53-
permissions:
54-
contents: read
55-
packages: write
56-
strategy:
57-
matrix:
58-
container_registry:
59-
- ghcr.io/pipe-cd
60-
- gcr.io/pipecd
61-
steps:
62-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
63-
with:
64-
fetch-depth: 0
51+
container_image:
52+
runs-on: ubuntu-24.04
53+
permissions:
54+
contents: read
55+
packages: write
56+
strategy:
57+
matrix:
58+
container_registry:
59+
- ghcr.io/pipe-cd
60+
- gcr.io/pipecd
61+
steps:
62+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
63+
with:
64+
fetch-depth: 0
6565

66-
# Setup QEMU and Buildx.
67-
- name: Set up QEMU
68-
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
69-
- name: Set up Docker Buildx
70-
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1
66+
# Setup QEMU and Buildx.
67+
- name: Set up QEMU
68+
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
69+
- name: Set up Docker Buildx
70+
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1
7171

72-
# Login to push container images.
73-
- name: Log in to GHCR
74-
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
75-
with:
76-
registry: ${{ env.GHCR }}
77-
username: ${{ github.actor }}
78-
password: ${{ secrets.GITHUB_TOKEN }}
72+
# Login to push container images.
73+
- name: Log in to GHCR
74+
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
75+
with:
76+
registry: ${{ env.GHCR }}
77+
username: ${{ github.actor }}
78+
password: ${{ secrets.GITHUB_TOKEN }}
7979

80-
- name: Log in to GCR
81-
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
82-
with:
83-
registry: ${{ env.GCR }}
84-
username: _json_key
85-
password: ${{ secrets.GCR_SA }}
80+
- name: Log in to GCR
81+
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
82+
with:
83+
registry: ${{ env.GCR }}
84+
username: _json_key
85+
password: ${{ secrets.GCR_SA }}
8686

87-
# Building and pushing container images.
88-
- name: Build and push pipedv1 experimental image
89-
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
90-
with:
91-
push: true
92-
context: .
93-
file: cmd/pipedv1/Dockerfile
94-
tags: ${{ matrix.container_registry }}/pipe-cd/pipedv1-exp:${{ inputs.version }}
95-
platforms: linux/amd64,linux/arm64
96-
# parameter to use inline cache. ref; https://docs.docker.com/build/ci/github-actions/cache/#inline-cache
97-
cache-from: type=registry,ref=${{ matrix.container_registry }}/pipe-cd/pipedv1-exp:latest
98-
cache-to: type=inline
87+
# Building and pushing container images.
88+
- name: Build and push pipedv1 experimental image
89+
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
90+
with:
91+
push: true
92+
context: .
93+
file: cmd/pipedv1/Dockerfile
94+
tags: ${{ matrix.container_registry }}/pipe-cd/pipedv1-exp:${{ inputs.version }}
95+
platforms: linux/amd64,linux/arm64
96+
# parameter to use inline cache. ref; https://docs.docker.com/build/ci/github-actions/cache/#inline-cache
97+
cache-from: type=registry,ref=${{ matrix.container_registry }}/pipe-cd/pipedv1-exp:latest
98+
cache-to: type=inline

0 commit comments

Comments
 (0)