Skip to content

Commit eeaf438

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent f1d3771 commit eeaf438

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

azure-pipelines.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ steps:
8080
displayName: 'Download utPLSQL'
8181
8282
- bash: |
83-
if [[ -f "$(CACHE_DIR)/${ORACLE_VERSION}.img" ]]; then
84-
time docker load -i $(CACHE_DIR)/${ORACLE_VERSION}.img
83+
if [[ -f "$(CACHE_DIR)/${ORACLE_VERSION}.tar" ]]; then
84+
time docker load -i $(CACHE_DIR)/${ORACLE_VERSION}.tar
8585
else
8686
docker login -u $(DOCKER_USER) -p $(DOCKER_PASSWORD)
8787
# download Oracle Database docker image from private repo and start the DB
8888
time docker pull ${DOCKHER_HUB_REPO}:${ORACLE_VERSION}
89-
time docker save ${DOCKHER_HUB_REPO}:${ORACLE_VERSION} -o $(CACHE_DIR)/${ORACLE_VERSION}.img
89+
time docker -o $(CACHE_DIR)/${ORACLE_VERSION}.tar save ${DOCKHER_HUB_REPO}:${ORACLE_VERSION}
9090
fi
9191
# start the docker container (DB)
9292
time docker run -d --name ${ORACLE_VERSION} ${DOCKER_OPTIONS} -p 1521:1521 ${DOCKHER_HUB_REPO}:${ORACLE_VERSION}

0 commit comments

Comments
 (0)