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
…10670)

backport #10664 to `2.8.x` branch

Signed-off-by: Kaviraj <kavirajkanagaraj@gmail.com>
  • Loading branch information
kavirajk authored Sep 21, 2023
1 parent 4d920d6 commit 0928f59
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 @@ -361,7 +361,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 @@ -867,6 +866,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 @@ -1491,6 +1491,7 @@ kind: pipeline
name: docker-driver
steps:
- commands:
- git fetch origin --tags
- make docker-driver-push
depends_on:
- clone
Expand Down Expand Up @@ -1764,6 +1765,6 @@ kind: secret
name: gpg_private_key
---
kind: signature
hmac: 50c36b419eb83a2b2216847784a107cc72c862d059ae4a84f02350e4397dce25
hmac: a390d78bcf16c83fec281e7e06e144e73f376d9fe221683017907d345311be74

...

0 comments on commit 0928f59

Please sign in to comment.