DataDog / extendeddaemonset

Kubernetes Extended Daemonset controller
Apache License 2.0
98 stars 13 forks source link

Use `docker buildx` to tag and push image for tagged commit #177

Closed levan-m closed 5 months ago

levan-m commented 6 months ago

What does this PR do?

Trying to fix rc release failures by replacing

docker tag $TARGET_IMAGE $RELEASE_IMAGE && docker push $RELEASE_IMAGE

which tags and pushes current image if commit is tagged with a command using docker buildx

docker buildx imagetools create $TARGET_IMAGE --tag $RELEASE_IMAGE --push

latter is needed after this change https://github.com/DataDog/extendeddaemonset/pull/172/

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

Describe your test plan

Write there any instructions and details you may have to test your PR.