Skip to content

Commit 62a3b16

Browse files
committed
update CI Docker Hub autoDeploy
1 parent 069c48c commit 62a3b16

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/docker.yml

+6-8
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,19 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
-
13-
name: Login to Docker Hub
12+
- name: Login to Docker Hub
1413
uses: docker/login-action@v3
1514
with:
1615
username: ${{ secrets.DOCKER_USERNAME }}
1716
password: ${{ secrets.DOCKER_USER_PASSWORD }}
18-
-
19-
name: Set up Docker Buildx
17+
18+
- name: Set up Docker Buildx
2019
uses: docker/setup-buildx-action@v3
21-
-
22-
name: Build and push
20+
21+
- name: Build and push
2322
uses: docker/build-push-action@v6
2423
with:
2524
platforms: linux/amd64,linux/arm64
26-
context: ./docker/php
27-
file: ./docker/php/Dockerfile
25+
context: .
2826
push: true
2927
tags: ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:latest

0 commit comments

Comments
 (0)