Skip to content

Commit 9d44c36

Browse files
Copilotcommjoen
andcommitted
Fix pre-commit and docker build issues
Co-authored-by: commjoen <[email protected]>
1 parent 2bc619f commit 9d44c36

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.github/scripts/docker-create.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,10 +379,10 @@ create_containers() {
379379
docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t jeroenwillemsen/wrongsecrets:$tag-k8s-vault --build-arg "$buildarg" --build-arg "PORT=8081" --build-arg "argBasedVersion=$tag" --build-arg "spring_profile=kubernetes-vault" --secret id=mysecret,env=SECRET_VALUE --push ./../../.
380380
docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t jeroenwillemsen/wrongsecrets:latest-k8s-vault --build-arg "$buildarg" --build-arg "PORT=8081" --build-arg "argBasedVersion=$tag" --build-arg "spring_profile=kubernetes-vault" --secret id=mysecret,env=SECRET_VALUE --push ./../../.
381381
cd ../..
382-
docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t jeroenwillemsen/wrongsecrets-desktop:$tag -f Dockerfile_webdesktop --secret id=mysecret,env=SECRET_VALUE --push .
383-
docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t jeroenwillemsen/wrongsecrets-desktop:latest -f Dockerfile_webdesktop --secret id=mysecret,env=SECRET_VALUE --push .
384-
docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t jeroenwillemsen/wrongsecrets-desktop-k8s:$tag -f Dockerfile_webdesktopk8s --secret id=mysecret,env=SECRET_VALUE --push .
385-
docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t jeroenwillemsen/wrongsecrets-desktop-k8s:latest -f Dockerfile_webdesktopk8s --secret id=mysecret,env=SECRET_VALUE --push .
382+
docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t jeroenwillemsen/wrongsecrets-desktop:$tag -f Dockerfile_webdesktop --push .
383+
docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t jeroenwillemsen/wrongsecrets-desktop:latest -f Dockerfile_webdesktop --push .
384+
docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t jeroenwillemsen/wrongsecrets-desktop-k8s:$tag -f Dockerfile_webdesktopk8s --push .
385+
docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t jeroenwillemsen/wrongsecrets-desktop-k8s:latest -f Dockerfile_webdesktopk8s --push .
386386
cd k8s/challenge53
387387
cp ../../src/main/resources/executables/wrongsecrets-challenge53-* ./executables
388388
docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t jeroenwillemsen/wrongsecrets-challenge53:$tag -f Dockerfile --push .

.github/workflows/pr-desktop-containers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,4 @@ jobs:
173173
owner: context.repo.owner,
174174
repo: context.repo.repo,
175175
body: comment
176-
});
176+
});

Dockerfile_webdesktop

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,4 @@ COPY src/test/resources/alibabacreds.kdbx /var/tmp/wrongsecrets/
4444
COPY wrongsecret-desktop-resources/welcome.md /var/tmp/wrongsecrets/
4545

4646
COPY wrongsecret-desktop-resources/startwm.sh /defaults/startwm.sh
47+

Dockerfile_webdesktopk8s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,4 @@ COPY wrongsecret-desktop-resources/welcome.md /var/tmp/wrongsecrets/
5252
RUN sudo chown abc /var/tmp/wrongsecrets
5353

5454
COPY wrongsecret-desktop-resources/startwm.sh /defaults/startwm.sh
55+

0 commit comments

Comments
 (0)