File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5959 - name : Download container
6060 if : steps.cache-docker.outputs.cache-hit != 'true'
6161 run : |
62- docker pull ibmcom/ db2
62+ docker pull icr.io/db2_community/ db2:11.5.8.0
6363 mkdir image-cache
64- docker save -o image-cache/db2.tar ibmcom/ db2
64+ docker save -o image-cache/db2.tar icr.io/db2_community/ db2:11.5.8.0
6565 - name : Restore container from cache
6666 if : steps.cache-docker.outputs.cache-hit == 'true'
6767 run : docker load -i image-cache/db2.tar
7979 Database=sample
8080 EOF
8181 mkdir database
82- docker run --name db2 --privileged=true -p 60000:50000 -e DB2INST1_PASSWORD=password -e LICENSE=accept -e DBNAME=sample -v database:/database -itd ibmcom/ db2
82+ docker run --name db2 --privileged=true -p 60000:50000 -e DB2INST1_PASSWORD=password -e LICENSE=accept -e DBNAME=sample -v database:/database -itd icr.io/db2_community/ db2:11.5.8.0
8383 docker ps -as
8484 while true
8585 do
You can’t perform that action at this time.
0 commit comments