Skip to content

Commit 3a22c6c

Browse files
authored
Fix workflow
* add step with clone repo
1 parent 5f9d965 commit 3a22c6c

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/docker-image.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Build the Docker image
12-
uses: docker/build-push-action@v1.1.0
13-
with:
14-
username: ${{ secrets.DOCKER_USERNAME }}
15-
password: ${{ secrets.DOCKER_PASSWORD }}
16-
repository: schenkd/nginx-ui
17-
tag_with_ref: true
11+
- name: Clone repository
12+
uses: actions/checkout@v2
13+
14+
- name: Build the Docker image
15+
uses: docker/build-push-action@v1.1.0
16+
with:
17+
username: ${{ secrets.DOCKER_USERNAME }}
18+
password: ${{ secrets.DOCKER_PASSWORD }}
19+
repository: schenkd/nginx-ui
20+
tag_with_ref: true

0 commit comments

Comments
 (0)