File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 2424 id-token : write
2525
2626 steps :
27+ - name : Checkout Repo
28+ uses : actions/checkout@v4
29+
30+ - name : Get Bot Version
31+ 32+ id : version
33+ with :
34+ file : ./tools/od_ref_bot/Cargo.toml
35+ field : package.version
36+
2737 # Set up BuildKit Docker container builder to be able to build
2838 # multi-platform images and export cache
2939 # https://github.com/docker/setup-buildx-action
4656 uses : docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
4757 with :
4858 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
59+ tags : |
60+ type=edge
61+ type=semver,pattern={{version}},value=${{ steps.version.outputs.value }}
62+ type=raw,value=${{ steps.version.outputs.value }}-${{ github.event.head_commit.id }}
4963
5064 # Build and push Docker image with Buildx
5165 # https://github.com/docker/build-push-action
You can’t perform that action at this time.
0 commit comments