File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 7070 runs-on : ubuntu-24.04
7171 strategy :
7272 fail-fast : false
73+ services :
74+ registry :
75+ image : registry:2
76+ ports :
77+ - 5000:5000
7378 steps :
7479 - name : Check out the codebase
7580 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -90,15 +95,17 @@ jobs:
9095 run : |
9196 docker load --input /tmp/alpine-slim.tar
9297 docker image ls -a
98+ docker tag nginx-unprivileged:alpine-slim localhost:5000/nginx-unprivileged:alpine-slim
99+ docker push localhost:5000/nginx-unprivileged:alpine-slim
93100
94101 - name : Build NGINX mainline Alpine image locally
95102 id : build
96103 uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
97104 with :
98105 platforms : linux/amd64
99106 context : " {{ defaultContext }}:mainline/alpine"
100- tags : nginx-unprivileged:alpine
101- build-args : IMAGE=nginx-unprivileged:alpine-slim
107+ tags : localhost:5000/ nginx-unprivileged:alpine
108+ build-args : IMAGE=localhost:5000/ nginx-unprivileged:alpine-slim
102109 push : false
103110 outputs : type=docker,dest=/tmp/alpine.tar
104111
You can’t perform that action at this time.
0 commit comments