Skip to content

action-build-push: Update the token secret value #466

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

Merged
merged 2 commits into from
Aug 15, 2024

Conversation

surajssd
Copy link
Member

@surajssd surajssd commented Aug 15, 2024

  • Update the build-push-pipeline to use the personal access token to be able to push to the ghcr.io/azure/cloudshell/base and ghcr.io/azure/cloudshell/tools.

  • Add unique tags to the image so even if they are repeatedly built with same commit they are not overridden.

Signed-off-by: Suraj Deshmukh <suraj.deshmukh@microsoft.com>
@surajssd surajssd force-pushed the update-the-container-image-token branch from 007781b to 31e6d3d Compare August 15, 2024 20:09
If the build runs multiple times with the same
commit hash it can override the existing image. So
adding a timestamp makes the image tag unique.

Signed-off-by: Suraj Deshmukh <suraj.deshmukh@microsoft.com>
@surajssd surajssd merged commit f1dae2c into Azure:master Aug 15, 2024
2 checks passed
@surajssd surajssd deleted the update-the-container-image-token branch August 15, 2024 21:06
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