Skip to content

Commit b62a4cc

Browse files
author
liq
committed
add: build release workflow
1 parent 6b047ab commit b62a4cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-push-release-api-image.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
fi
4040
4141
- name: Build Image
42-
run: docker build -t ${{env.image_url}}:${{image_tag}} ./${{env.context}}/.
42+
run: docker build -t ${{env.image_url}}:${{env.image_tag}} ./${{env.context}}/.
4343

4444
# 登录dockerhub
4545
- name: Login to DockerHub
@@ -50,7 +50,7 @@ jobs:
5050
password: ${{ env.dockerhub_token }}
5151

5252
- name: Docker push
53-
run: docker push ${{ env.image_url }}:${{image_tag}}
53+
run: docker push ${{ env.image_url }}:${{env.image_tag}}
5454

5555
- name: Get pre step result output image_pull_url
5656
run: echo "The time was ${{ steps.buildAndPushImage.outputs.image_pull_url }}"

0 commit comments

Comments
 (0)