Skip to content

Commit

Permalink
drone(docker-driver): Fetch tags before pushing image during release (#…
Browse files Browse the repository at this point in the history
…10671)

backport #10664 to `2.9.x` branch
  • Loading branch information
kavirajk authored Sep 21, 2023
1 parent 66269c8 commit 37b052a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .drone/drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ local logql_analyzer() = pipeline('logql-analyzer') + arch_image('amd64') {
depends_on: ['check'],
};


local multiarch_image(arch) = pipeline('docker-' + arch) + arch_image(arch) {
steps+: [
// dry run for everything that is not tag or main
Expand Down Expand Up @@ -917,6 +916,7 @@ local manifest_ecr(apps, archs) = pipeline('manifest-ecr') {
DOCKER_PASSWORD: { from_secret: docker_password_secret.name },
},
commands: [
'git fetch origin --tags',
'make docker-driver-push',
],
volumes: [
Expand Down
3 changes: 2 additions & 1 deletion .drone/drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1743,6 +1743,7 @@ kind: pipeline
name: docker-driver
steps:
- commands:
- git fetch origin --tags
- make docker-driver-push
depends_on:
- clone
Expand Down Expand Up @@ -2016,6 +2017,6 @@ kind: secret
name: gpg_private_key
---
kind: signature
hmac: 19efaf699db1315f0ea71fb80d521dec5ab67ecbfa7975fa36ca7f4679e27c23
hmac: 694e1933d3ac53f6b54bcf79b88003727100a74d3eb4f9417a9976f5da4a5658

...

0 comments on commit 37b052a

Please sign in to comment.