File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -46,19 +46,16 @@ jobs:
4646 run : |
4747 make build-${{ inputs.service_name }} VERSION=latest
4848
49- - name : Tag Docker Image
50- run : |
51- docker tag datamate-${{ inputs.service_name }}:latest ${{ steps.set-tag.outputs.TAGS }}
52-
53- - name : Push Docker Image
49+ - name : Tag & Push Docker Image
5450 if : github.event_name != 'pull_request' && !startsWith(github.workflow, 'Package')
5551 run : |
52+ docker tag datamate-${{ inputs.service_name }}:latest ${{ steps.set-tag.outputs.TAGS }}
5653 docker push ${{ steps.set-tag.outputs.TAGS }}
5754
5855 - name : Save Docker Image
5956 if : startsWith(github.workflow, 'Package')
6057 run : |
61- docker save -o datamate-${{ inputs.service_name }}.tar ${{ steps.set-tag.outputs.TAGS }}
58+ docker save -o datamate-${{ inputs.service_name }}.tar datamate- ${{ inputs.service_name }}:latest
6259
6360 - name : Upload Docker Image
6461 if : startsWith(github.workflow, 'Package')
Original file line number Diff line number Diff line change 3636 - name : Checkout
3737 uses : actions/checkout@v4
3838
39- - name : Save Image
39+ - name : Download Image
4040 uses : actions/download-artifact@v5
4141 with :
4242 path : images
5454 - name : Upload Package
5555 uses : actions/upload-artifact@v4
5656 with :
57- name : package
58- path : datamate.tar
57+ name : datamate
58+ include-hidden-files : true
59+ path : |
60+ deployment/
61+ images/
You can’t perform that action at this time.
0 commit comments