Skip to content

Commit

Permalink
Merge pull request #48 from joshhsoj1902/release-only-tag
Browse files Browse the repository at this point in the history
Tags releases shouldn't also publish latest
  • Loading branch information
joshhsoj1902 authored Dec 17, 2023
2 parents fd43efc + 19927b3 commit 12e88ba
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ jobs:
type: string
executor: docker-publisher
steps:
- checkout
- run:
name: "Pull image"
command: |
docker pull $IMAGE_NAME:latest-<< parameters.dir >> || true
- run:
name: Publish Docker Image to Docker Hub
command: |
Expand Down Expand Up @@ -110,7 +105,7 @@ workflows:
parameters:
dir: *images
requires:
- publish latest << matrix.dir >>
- build << matrix.dir >>
filters:
tags:
only: /^v.*/
Expand Down

0 comments on commit 12e88ba

Please sign in to comment.