Skip to content

add workflow for updating deployed image tag #91

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 1 commit into from
May 5, 2024

Conversation

haarg
Copy link
Member

@haarg haarg commented May 5, 2024

No description provided.

@haarg
Copy link
Member Author

haarg commented May 5, 2024

This is an alternative to metacpan/metacpan-web#3052. This puts the main workflow for updating images in the k8s repo, which can be used by multiple apps. It can be triggered from a workflow in the other repos like:

      - name: Update deployed image
        uses: aurelien-baudet/workflow-dispatch@v2
        with:
          repo: metacpan/metacpan-k8s
          workflow: set-image.yml
          token: ${{ steps.auth-token.outputs.access-token }}
          inputs: '{ "app": "web", "environment": "prod", "repository": "metacpan/metacpan-web", "tag": "${{ github.sha }}" }'

Copy link
Contributor

@ssoriche ssoriche left a comment

Choose a reason for hiding this comment

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

Wow, thanks for putting this together, didn't know it was possible.

@ssoriche ssoriche merged commit a47d673 into main May 5, 2024
@ssoriche ssoriche deleted the haarg/update-image-workflow branch May 5, 2024 15:23
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