Skip to content

Commit 5af3a9c

Browse files
committed
fix: error build syntax error
1 parent a99a794 commit 5af3a9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
password: ${{ secrets.DOCKERHUB_TOKEN }}
2424

2525
- name: Build the Docker image
26-
run: docker build . --file Dockerfile \\
26+
run: docker build --file Dockerfile \\
2727
--platform linux/amd64,linux/arm64 \\
2828
--sbom=true \\
29-
--tag ${{ vars.DOCKERHUB_IMAGE_NAME }}:$(date +%Y%m%d)
29+
--tag ${{ vars.DOCKERHUB_IMAGE_NAME }}:$(date +%Y%m%d) .
3030

3131
- name: Push the Docker image
3232
run: docker push ${{ vars.DOCKERHUB_IMAGE_NAME }}:$(date +%Y%m%d)

0 commit comments

Comments
 (0)