Skip to content

Commit

Permalink
Fun back and forth with condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jeschkies committed Nov 3, 2023
1 parent b552ad1 commit 4ff6892
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .drone/drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -545,11 +545,11 @@ local build_image_tag = '0.32.0';
for arch in ['amd64', 'arm64']
] + [
pipeline('loki-build-image-publish') {
when: onTagOrMain + onPath('loki-build-image/**'),
steps: [
{
name: 'manifest',
image: 'plugins/manifest:1.4.0',
when: onTagOrMain + onPath('loki-build-image/**'),
settings: {
// the target parameter is abused for the app's name, as it is unused in spec mode.
target: 'loki-build-image:' + build_image_tag,
Expand Down
14 changes: 7 additions & 7 deletions .drone/drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,18 @@ steps:
target: loki-build-image:0.32.0
username:
from_secret: docker_username
when:
event:
- push
- tag
paths:
- loki-build-image/**
trigger:
ref:
- refs/heads/main
- refs/heads/k???
- refs/tags/v*
- refs/pull/*/head
when:
event:
- push
- tag
paths:
- loki-build-image/**
---
kind: pipeline
name: helm-test-image
Expand Down Expand Up @@ -2106,6 +2106,6 @@ kind: secret
name: gpg_private_key
---
kind: signature
hmac: cac76702db65e10e1f0b8c81042aacb2ab3cdc66fe1a1c0844c68eff5958fc9c
hmac: caf375427f92f78711f801f56341357b67737330e906346ee908a796c61dd314

...

0 comments on commit 4ff6892

Please sign in to comment.