Skip to content

skip goreleaser-docker on retry#8

Merged
johnallers merged 6 commits into
mainfrom
jallers/retry-docker
Jun 25, 2025
Merged

skip goreleaser-docker on retry#8
johnallers merged 6 commits into
mainfrom
jallers/retry-docker

Conversation

@johnallers
Copy link
Copy Markdown
Contributor

@johnallers johnallers commented Jun 25, 2025

Checks if an ECR image already exists for the tag and skips if true. This allows retrying the workflow when the goreleaser step fails.

TODO:

  • The GH Actions for each connector repo need to have the ecr:DescribeImages AWS permission.

Copy link
Copy Markdown

@mbburch mbburch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM pending the permission issue you mentioned.

@johnallers johnallers merged commit d19297c into main Jun 25, 2025
@johnallers johnallers deleted the jallers/retry-docker branch June 25, 2025 19:16
VERSION="${TAG#v}"

echo "Checking if ECR image ${REPO_NAME}:${VERSION}-arm64 exists"
aws ecr describe-images --repository-name "${REPO_NAME}" --image-ids imageTag="${VERSION}-arm64" --region us-west-2
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants