Skip to content

Commit 5a657d0

Browse files
committed
lint.
1 parent 88c3d9d commit 5a657d0

1 file changed

Lines changed: 42 additions & 42 deletions

File tree

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
11
name: Dockerize Profiles
22

33
on:
4-
push:
5-
branches: [feat-profiles]
6-
pull_request:
7-
types: [opened, synchronize, reopened]
8-
branches: [feat-profiles]
9-
workflow_dispatch:
4+
push:
5+
branches: [feat-profiles]
6+
pull_request:
7+
types: [opened, synchronize, reopened]
8+
branches: [feat-profiles]
9+
workflow_dispatch:
1010

1111
jobs:
12-
dockerize-profiles:
13-
runs-on: ubuntu-latest
14-
15-
steps:
16-
- name: Checkout the repo
17-
uses: actions/checkout@v2
18-
- name: Set up QEMU
19-
uses: docker/setup-qemu-action@v2
20-
- name: Set up Docker Buildx
21-
uses: docker/setup-buildx-action@v2
22-
- name: Log in to Docker Hub
23-
uses: docker/login-action@v3
24-
with:
25-
username: ${{ vars.DOCKERHUB_USERNAME }}
26-
password: ${{ secrets.DOCKERHUB_TOKEN }}
12+
dockerize-profiles:
13+
runs-on: ubuntu-latest
2714

28-
- name: Extract metadata (tags, labels) for Docker
29-
id: meta
30-
uses: docker/metadata-action@v5
31-
with:
32-
images: appwrite/console-profiles
33-
tags: |
34-
type=ref,event=branch,prefix=branch-
35-
type=ref,event=pr
36-
type=sha,prefix=sha-
37-
type=raw,value=gh-${{ github.run_id}}
38-
flavor: |
39-
latest=false
15+
steps:
16+
- name: Checkout the repo
17+
uses: actions/checkout@v2
18+
- name: Set up QEMU
19+
uses: docker/setup-qemu-action@v2
20+
- name: Set up Docker Buildx
21+
uses: docker/setup-buildx-action@v2
22+
- name: Log in to Docker Hub
23+
uses: docker/login-action@v3
24+
with:
25+
username: ${{ vars.DOCKERHUB_USERNAME }}
26+
password: ${{ secrets.DOCKERHUB_TOKEN }}
4027

41-
- name: Build and push Docker image
42-
id: push
43-
uses: docker/build-push-action@v6
44-
with:
45-
context: .
46-
push: true
47-
platforms: linux/amd64,linux/arm64
48-
tags: ${{ steps.meta.outputs.tags }}
49-
labels: ${{ steps.meta.outputs.labels }}
28+
- name: Extract metadata (tags, labels) for Docker
29+
id: meta
30+
uses: docker/metadata-action@v5
31+
with:
32+
images: appwrite/console-profiles
33+
tags: |
34+
type=ref,event=branch,prefix=branch-
35+
type=ref,event=pr
36+
type=sha,prefix=sha-
37+
type=raw,value=gh-${{ github.run_id}}
38+
flavor: |
39+
latest=false
40+
41+
- name: Build and push Docker image
42+
id: push
43+
uses: docker/build-push-action@v6
44+
with:
45+
context: .
46+
push: true
47+
platforms: linux/amd64,linux/arm64
48+
tags: ${{ steps.meta.outputs.tags }}
49+
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)