Skip to content

Commit 69bb252

Browse files
committed
style: change indent of yml file
1 parent 238e942 commit 69bb252

File tree

2 files changed

+52
-52
lines changed

2 files changed

+52
-52
lines changed

.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ insert_final_newline = true
1010
indent_size = 4
1111
max_line_length = 140
1212

13-
[*.{yaml, yml}]
13+
[*.{yaml,yml}]
1414
indent_style = space
1515
indent_size = 2
1616

+51-51
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,65 @@
11
name: Continuous Delivery
22

33
on:
4-
push:
5-
branches:
6-
- master
7-
tags:
8-
- '*.*.*'
4+
push:
5+
branches:
6+
- master
7+
tags:
8+
- '*.*.*'
99

1010
concurrency:
11-
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
12-
cancel-in-progress: true
11+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
12+
cancel-in-progress: true
1313

1414
env:
15-
REGISTRY: ghcr.io
16-
ORGANIZATION: ${{ github.repository_owner }}
15+
REGISTRY: ghcr.io
16+
ORGANIZATION: ${{ github.repository_owner }}
1717

1818
jobs:
19-
build-and-push-image:
20-
name: Publish Docker Image
21-
permissions:
22-
contents: read
23-
packages: write
24-
runs-on: ubuntu-latest
25-
steps:
26-
- name: Checkout repository
27-
uses: actions/checkout@v3
19+
build-and-push-image:
20+
name: Publish Docker Image
21+
permissions:
22+
contents: read
23+
packages: write
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v3
2828

29-
- name: Log in to the Container registry
30-
uses: docker/login-action@v2
31-
with:
32-
registry: ${{ env.REGISTRY }}
33-
username: ${{ github.actor }}
34-
password: ${{ secrets.GITHUB_TOKEN }}
29+
- name: Log in to the Container registry
30+
uses: docker/login-action@v2
31+
with:
32+
registry: ${{ env.REGISTRY }}
33+
username: ${{ github.actor }}
34+
password: ${{ secrets.GITHUB_TOKEN }}
3535

36-
- name: Set up Docker Buildx
37-
id: buildx
38-
uses: docker/setup-buildx-action@v2
36+
- name: Set up Docker Buildx
37+
id: buildx
38+
uses: docker/setup-buildx-action@v2
3939

40-
- name: Cache Docker layers
41-
uses: actions/[email protected]
42-
with:
43-
path: /tmp/.buildx-cache
44-
key: ${{ runner.os }}-buildx-${{ github.sha }}
45-
restore-keys: |
46-
${{ runner.os }}-buildx-
40+
- name: Cache Docker layers
41+
uses: actions/[email protected]
42+
with:
43+
path: /tmp/.buildx-cache
44+
key: ${{ runner.os }}-buildx-${{ github.sha }}
45+
restore-keys: |
46+
${{ runner.os }}-buildx-
4747
48-
- name: Extract metadata (tags, labels) for Docker
49-
id: meta
50-
uses: docker/metadata-action@v4
51-
with:
52-
images: ${{ env.REGISTRY }}/${{ env.ORGANIZATION }}/toolkit
48+
- name: Extract metadata (tags, labels) for Docker
49+
id: meta
50+
uses: docker/metadata-action@v4
51+
with:
52+
images: ${{ env.REGISTRY }}/${{ env.ORGANIZATION }}/toolkit
5353

54-
- name: Build and push
55-
uses: docker/build-push-action@v4
56-
with:
57-
context: .
58-
file: ./Dockerfile
59-
push: true
60-
builder: ${{ steps.buildx.outputs.name }}
61-
tags: ${{ steps.meta.outputs.tags }}, ${{ env.REGISTRY }}/${{ env.ORGANIZATION }}/toolkit
62-
labels: ${{ steps.meta.outputs.labels }}
63-
cache-from: type=local,src=/tmp/.buildx-cache
64-
cache-to: type=local,dest=/tmp/.buildx-cache
65-
target: ${{ steps.environment.outputs.name }}
54+
- name: Build and push
55+
uses: docker/build-push-action@v4
56+
with:
57+
context: .
58+
file: ./Dockerfile
59+
push: true
60+
builder: ${{ steps.buildx.outputs.name }}
61+
tags: ${{ steps.meta.outputs.tags }}, ${{ env.REGISTRY }}/${{ env.ORGANIZATION }}/toolkit
62+
labels: ${{ steps.meta.outputs.labels }}
63+
cache-from: type=local,src=/tmp/.buildx-cache
64+
cache-to: type=local,dest=/tmp/.buildx-cache
65+
target: ${{ steps.environment.outputs.name }}

0 commit comments

Comments
 (0)