Skip to content

Commit

Permalink
Monitorism #81 (#82)
Browse files Browse the repository at this point in the history
* testing circleci fix

* testing 2

* setting latest for release

* changes completed
  • Loading branch information
raffaele-oplabs authored Oct 1, 2024
1 parent 59a99bd commit c0b2ecd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,16 @@ jobs:
else
export GIT_VERSION=$(echo "$full_release_tag" | tail -n 1)
fi
if [ "<<parameters.release>>" == "true" ]; then
export IMAGE_TAGS="$GIT_VERSION,$IMAGE_TAGS,latest"
else
export IMAGE_TAGS="$GIT_VERSION,$IMAGE_TAGS"
fi
export IMAGE_TAGS="$GIT_VERSION,$IMAGE_TAGS"
echo "Setting IMAGE_TAGS=$IMAGE_TAGS"
fi
# Create, start (bootstrap) and use a *named* docker builder
# This allows us to cross-build multi-platform,
# and naming allows us to use the DLC (docker-layer-cache)
Expand Down Expand Up @@ -266,7 +269,7 @@ workflows:
type: approval
filters:
tags:
only: (^op-monitorism\/v.*$|^op-defender\/v.*$)
only: /(^op-monitorism\/v.*$|^op-defender\/v.*$)/
branches:
ignore: /.*/
- docker-build:
Expand Down Expand Up @@ -299,6 +302,7 @@ workflows:
release: true
context:
- oplabs-gcr

main:
when:
and:
Expand Down

0 comments on commit c0b2ecd

Please sign in to comment.