Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade docker publish action to v2 #1962

Merged
merged 1 commit into from
Jun 29, 2021
Merged

Upgrade docker publish action to v2 #1962

merged 1 commit into from
Jun 29, 2021

Conversation

iamleeg
Copy link
Contributor

@iamleeg iamleeg commented Jun 29, 2021

Followed migration instructions at https://github.com/docker/build-push-action/blob/master/UPGRADE.md

I didn't touch the ingestion functions deployment as that's using a different workflow. Not sure how to test this without tagging or merging though.

@iamleeg iamleeg requested a review from abhidg June 29, 2021 14:34
Copy link
Contributor

@abhidg abhidg left a comment

Choose a reason for hiding this comment

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

There should be a github actions to test github actions :) Looks good

VERSION=${GITHUB_REF#refs/tags/}
elif [[ $GITHUB_REF == refs/heads/* ]]; then
VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's#/+#-#g')
elif [[ $GITHUB_REF == refs/pull/* ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

This won't be called as we are not building on PR, but okay to leave it I guess

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup, I pasted that from the example docs and just deleted the outputs that I don't think we need, missed that bit.

@iamleeg iamleeg merged commit c52464b into main Jun 29, 2021
@iamleeg iamleeg deleted the broken_package_workflow branch June 29, 2021 14:44
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.

2 participants