Skip to content

Commit

Permalink
push intermediate to hub too
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanq16 authored May 18, 2024
1 parent 426f3b7 commit 6d500e7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion security_docker_arm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM intermediate_builder:latest as intermediate_builder
FROM tanq16/intermediate_builder:arm as intermediate_builder
FROM ubuntu:jammy

# ============================================================================================================
Expand Down
5 changes: 3 additions & 2 deletions security_docker_arm/local-builder-script.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
DOCKER_BUILDKIT=0 docker buildx build --platform=linux/arm64 -f builder.Dockerfile -t intermediate_builder .
DOCKER_BUILDKIT=1 docker buildx build --platform=linux/arm64 -f builder.Dockerfile -t tanq16/intermediate_builder:arm .
docker push tanq16/intermediate_builder:arm
docker builder prune -f
DOCKER_BUILDKIT=0 docker buildx build --platform=linux/arm64 -t tanq16/sec_docker:main_apple .
DOCKER_BUILDKIT=1 docker buildx build --platform=linux/arm64 -t tanq16/sec_docker:main_apple .
docker push tanq16/sec_docker:main_apple
2 changes: 1 addition & 1 deletion security_docker_main/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM intermediate_builder as intermediate_builder
FROM tanq16/intermediate_builder:amd as intermediate_builder
FROM ubuntu:jammy

# ============================================================================================================
Expand Down
3 changes: 2 additions & 1 deletion security_docker_main/local-builder-script.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
DOCKER_BUILDKIT=1 docker build -f builder.Dockerfile -t intermediate_builder .
DOCKER_BUILDKIT=1 docker build -f builder.Dockerfile -t tanq16/intermediate_builder:amd .
docker builder prune -f
docker push tanq16/intermediate_builder:amd
DOCKER_BUILDKIT=1 docker build -t tanq16/sec_docker:main .
docker push tanq16/sec_docker:main

0 comments on commit 6d500e7

Please sign in to comment.