mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-04-24 19:32:49 +00:00
artifactory errors
This commit is contained in:
parent
dacdb3b4e3
commit
ab35eba56e
1 changed files with 4 additions and 4 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -43,8 +43,8 @@ jobs:
|
|||
docker build -t "${IMAGE_NAME}:${IMAGE_TAG}" .
|
||||
|
||||
# Tag for Artifactory
|
||||
docker tag "${IMAGE_NAME}:${IMAGE_TAG}" "${ARTIFACTORY_URL}/petclinic-docker/${IMAGE_NAME}:${IMAGE_TAG}"
|
||||
docker tag "${IMAGE_NAME}:${IMAGE_TAG}" "${ARTIFACTORY_URL}/petclinic-docker/${IMAGE_NAME}:latest"
|
||||
docker tag "${IMAGE_NAME}:${IMAGE_TAG}" "${ARTIFACTORY_URL}/petclinic-docker-remote/${IMAGE_NAME}:${IMAGE_TAG}"
|
||||
docker tag "${IMAGE_NAME}:${IMAGE_TAG}" "${ARTIFACTORY_URL}/petclinic-docker-remote/${IMAGE_NAME}:latest"
|
||||
|
||||
- name: Login to Artifactory
|
||||
run: |
|
||||
|
@ -52,8 +52,8 @@ jobs:
|
|||
|
||||
- name: Push Image to Artifactory
|
||||
run: |
|
||||
docker push "${ARTIFACTORY_URL}/petclinic-docker/${IMAGE_NAME}:${IMAGE_TAG}"
|
||||
docker push "${ARTIFACTORY_URL}/petclinic-docker/${IMAGE_NAME}:latest"
|
||||
docker push "${ARTIFACTORY_URL}/petclinic-docker-remote/${IMAGE_NAME}:${IMAGE_TAG}"
|
||||
docker push "${ARTIFACTORY_URL}/petclinic-docker-remote/${IMAGE_NAME}:latest"
|
||||
|
||||
# - name: Build Docker Image
|
||||
# run: |
|
||||
|
|
Loading…
Reference in a new issue