Skip to content

Commit f4ca4ab

Browse files
Update latest for tag name
1 parent 26c924c commit f4ca4ab

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/docker-image.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@ jobs:
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:
@@ -37,6 +28,4 @@ jobs:
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

0 commit comments

Comments
 (0)