Merge pull request #9 from cloudbeds/fix/missing-workflow-id #7
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Re-tag images and Publish | |
| on: | |
| workflow_dispatch: | |
| push: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| re-tag: | |
| name: Re-tag image | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| contents: read | |
| steps: | |
| - name: Re-tag image application image | |
| uses: cloudbeds/composite-actions/docker/crane-re-tag/aws-ecr@v2 | |
| with: | |
| # image_name: Only registry path is required. AWS ECR registry address will be automatically set by composite-actions | |
| image_name: ${{ github.event.repository.name }} | |
| src_tag: ${{ github.sha }} | |
| dst_tag: ${{ github.ref_name }} |