Skip to content

Commit ecab04b

Browse files
Fix docker build failed, use -f for Dockerfile location
1 parent a6436fe commit ecab04b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/snyk-docker-amd64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v2
1616

1717
- name: Build amd64 Docker image
18-
run: docker build -t martinussuherman/alpine-code-server:amd64 amd64
18+
run: docker build -t martinussuherman/alpine-code-server:amd64 -f amd64/Dockerfile .
1919

2020
- name: Run Snyk to check Docker image for vulnerabilities
2121
# Snyk can be used to break the build when it detects vulnerabilities.

0 commit comments

Comments
 (0)