Skip to content

Commit

Permalink
testing (#37)
Browse files Browse the repository at this point in the history
* testing

* removing docker buildx create

* removing docker buildx create

* checking branch

* testing

* testing again

* testing again

* fixing tag issue

* completed

* removed test file

* setting back wrong changes

* removing comments
  • Loading branch information
raffaele-oplabs authored Jun 19, 2024
1 parent 2882acc commit 3a263fd
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,13 @@ jobs:
- "<<parameters.docker_name>>.tar"
- when:
condition:
equal: [main, << pipeline.git.branch >>]
or:
- and:
- "<<parameters.publish>>"
- "<<parameters.release>>"
- and:
- "<<parameters.publish>>"
- equal: [main, << pipeline.git.branch >>]
steps:
- gcp-oidc-authenticate:
service_account_email: GCP_SERVICE_ATTESTOR_ACCOUNT_EMAIL
Expand All @@ -209,6 +215,30 @@ jobs:
--attestor-key-id="//cloudkms.googleapis.com/v1/projects/$ATTESTOR_PROJECT_NAME/locations/global/keyRings/$ATTESTOR_NAME-key-ring/cryptoKeys/$ATTESTOR_NAME-key/cryptoKeyVersions/1"
workflows:
release:
jobs:
- hold:
type: approval
filters:
tags:
only: /^op-monitorism\/v.*/
branches:
ignore: /.*/
- docker-build:
name: op-monitorism-docker-release
filters:
tags:
only: /^op-monitorism\/v.*/
branches:
ignore: /.*/
docker_name: op-monitorism
docker_tags: <<pipeline.git.revision>>
requires: ['hold']
platforms: "linux/amd64,linux/arm64"
publish: true
release: true
context:
- oplabs-gcr-release
main:
when:
and:
Expand Down

0 comments on commit 3a263fd

Please sign in to comment.