Skip to content

Commit 27eb553

Browse files
committed
refactor: update indent in release.yml
1 parent 0fdeef0 commit 27eb553

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

.github/workflows/release.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
name: Release
22

33
on:
4-
release:
5-
types: [created]
4+
release:
5+
types: [created]
66

77
jobs:
8-
ghcr:
9-
name: Publish to GHCR
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: actions/checkout@v4
13-
- uses: docker/login-action@v3
8+
ghcr:
9+
name: Publish to GHCR
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: docker/login-action@v3
1414
with:
15-
registry: ghcr.io
16-
username: ${{ github.actor }}
17-
password: ${{ secrets.GITHUB_TOKEN }}
18-
- uses: docker/setup-qemu-action@v3
19-
- uses: docker/setup-buildx-action@v3
20-
- uses: docker/build-push-action@v5
15+
registry: ghcr.io
16+
username: ${{ github.actor }}
17+
password: ${{ secrets.GITHUB_TOKEN }}
18+
- uses: docker/setup-qemu-action@v3
19+
- uses: docker/setup-buildx-action@v3
20+
- uses: docker/build-push-action@v5
2121
with:
22-
push: true
23-
target: php-fpm
24-
platforms: linux/amd64,linux/arm64/v8
25-
cache-from: type=gha
26-
cache-to: type=gha,mode=max
27-
tags: |
28-
ghcr.io/stackmasters/php-sample:fpm-${{ github.event.release.name }}
29-
ghcr.io/stackmasters/php-sample:fpm-latest
30-
- uses: docker/build-push-action@v5
22+
push: true
23+
target: php-fpm
24+
platforms: linux/amd64,linux/arm64/v8
25+
cache-from: type=gha
26+
cache-to: type=gha,mode=max
27+
tags: |
28+
ghcr.io/stackmasters/php-sample:fpm-${{ github.event.release.name }}
29+
ghcr.io/stackmasters/php-sample:fpm-latest
30+
- uses: docker/build-push-action@v5
3131
with:
32-
push: true
33-
target: nginx
34-
platforms: linux/amd64,linux/arm64/v8
35-
cache-from: type=gha
36-
cache-to: type=gha,mode=max
37-
tags: |
38-
ghcr.io/stackmasters/php-sample:nginx-${{ github.event.release.name }}
39-
ghcr.io/stackmasters/php-sample:nginx-latest
32+
push: true
33+
target: nginx
34+
platforms: linux/amd64,linux/arm64/v8
35+
cache-from: type=gha
36+
cache-to: type=gha,mode=max
37+
tags: |
38+
ghcr.io/stackmasters/php-sample:nginx-${{ github.event.release.name }}
39+
ghcr.io/stackmasters/php-sample:nginx-latest

0 commit comments

Comments
 (0)