Skip to content

Commit

Permalink
Merge pull request #14 from psu-libraries/jimtest
Browse files Browse the repository at this point in the history
harbor tag fixes
  • Loading branch information
lauterman authored Dec 13, 2024
2 parents 73a5650 + f668e29 commit d2a6942
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,15 @@ jobs:
environment:
REGISTRY_HOST: harbor.k8s.libraries.psu.edu
REGISTRY_REPO: library/ci-utils
TAG: << parameters.version >>
TAG: <<pipeline.git.revision>>,<<pipeline.git.tag>>
executor: docker/docker
parameters:
version:
type: string
steps:
- setup_remote_docker
- checkout
- docker/check:
registry: $REGISTRY_HOST
- docker/build:
dockerfile: Dockerfile
image: $REGISTRY_REPO
registry: $REGISTRY_HOST
tag: $TAG
Expand All @@ -34,11 +32,7 @@ jobs:
environment:
REGISTRY_HOST: harbor.k8s.libraries.psu.edu
REGISTRY_REPO: library/ci-utils
TAG: << parameters.version >>
executor: docker/docker
parameters:
version:
type: string
steps:
- add_ssh_keys
- checkout
Expand All @@ -59,7 +53,6 @@ workflows:
only:
- master
- jimtest
version: "latest"
- tag-image:
context:
- org-global
Expand All @@ -71,4 +64,3 @@ workflows:
only:
- /^v\d+.*/
name: "tag image"
version: "$CIRCLE_TAG"

0 comments on commit d2a6942

Please sign in to comment.