Skip to content

Commit

Permalink
add: build release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
liq committed Aug 20, 2024
1 parent 6b047ab commit b62a4cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-push-release-api-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
fi
- name: Build Image
run: docker build -t ${{env.image_url}}:${{image_tag}} ./${{env.context}}/.
run: docker build -t ${{env.image_url}}:${{env.image_tag}} ./${{env.context}}/.

# 登录dockerhub
- name: Login to DockerHub
Expand All @@ -50,7 +50,7 @@ jobs:
password: ${{ env.dockerhub_token }}

- name: Docker push
run: docker push ${{ env.image_url }}:${{image_tag}}
run: docker push ${{ env.image_url }}:${{env.image_tag}}

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

0 comments on commit b62a4cc

Please sign in to comment.