File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 1515 - name : Set up Docker Buildx
1616 uses : docker/setup-buildx-action@v1
1717
18- - name : Get latest Token Registry API Tag
19- id : get_latest_tag
20- run : |
21- latest_tag=$(curl -s https://api.github.com/repos/cardanoapi/token-registry-api/releases/latest | jq -r .tag_name)
22- if [[ "$latest_tag" == "null" || -z "$latest_tag" ]]; then
23- latest_tag="latest"
24- fi
25- echo "::set-output name=tag::$latest_tag"
26-
2718 - name : Log in to GitHub Container Registry
2819 uses : docker/login-action@v1
2920 with :
3728 context : .
3829 file : ./Dockerfile
3930 push : true
40- tags : ghcr.io/${{ github.repository_owner }}/token-registry-api:${{ steps.get_latest_tag.outputs.tag }}
41- build-args : |
42- DBSYNC_TAG=latest
31+ tags : ghcr.io/${{ github.repository_owner }}/token-registry-api:latest
You can’t perform that action at this time.
0 commit comments