chore: fix latest docker tag #51
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
| on: | |
| push: | |
| # See https://docs.github.com/en/actions/using-jobs/using-concurrency | |
| name: Release | |
| jobs: | |
| push-container-tags: | |
| runs-on: ubuntu-latest | |
| name: Push container release tags | |
| env: | |
| DOCKER_IMAGE_NAME: newrelic/newrelic-agent-control | |
| steps: | |
| - uses: docker/setup-qemu-action@v3 | |
| - uses: docker/setup-buildx-action@v3 | |
| - uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.OHAI_DOCKER_HUB_ID }} | |
| password: ${{ secrets.OHAI_DOCKER_HUB_PASSWORD }} | |
| # Push multi-arch pre-released images with release tags | |
| - name: Push release tags | |
| run: | | |
| docker buildx imagetools create \ | |
| -t $DOCKER_IMAGE_NAME:0.36.1 \ | |
| -t $DOCKER_IMAGE_NAME:latest \ | |
| --attest type=provenance,mode=max \ | |
| --attest type=sbom \ | |
| $DOCKER_IMAGE_NAME:0.36.1-rc |