File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : publish-quay
2+ on :
3+ push :
4+ branches :
5+ - main
6+ tags :
7+ - ' *'
8+ workflow_dispatch : {}
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@master
14+ - name : Get image tags
15+ id : image_tags
16+ run : |
17+ echo -n ::set-output name=IMAGE_TAGS::$(git describe --tags)
18+ - name : Build and publish cwltool_module image to Quay
19+ uses : docker/build-push-action@v1
20+ with :
21+ file : cwltool.Dockerfile
22+ registry : ${{ secrets.REGISTRY_SERVER }}
23+ repository : ${{ secrets.REGISTRY_NAMESPACE }}/cwltool_module
24+ username : ${{ secrets.REGISTRY_USERNAME }}
25+ password : ${{ secrets.REGISTRY_PASSWORD }}
26+ tags : " ${{ steps.image_tags.outputs.IMAGE_TAGS }}"
27+ target : module
28+ - name : Build and publish cwltool image to Quay
29+ uses : docker/build-push-action@v1
30+ with :
31+ file : cwltool.Dockerfile
32+ registry : ${{ secrets.REGISTRY_SERVER }}
33+ repository : ${{ secrets.REGISTRY_NAMESPACE }}/cwltool
34+ username : ${{ secrets.REGISTRY_USERNAME }}
35+ password : ${{ secrets.REGISTRY_PASSWORD }}
36+ tags : " ${{ steps.image_tags.outputs.IMAGE_TAGS }}"
You can’t perform that action at this time.
0 commit comments