mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-06-01 16:10:47 +00:00
added docker build
This commit is contained in:
parent
eb38f39419
commit
f4c55bb171
47
.github/workflows/main.yml
vendored
47
.github/workflows/main.yml
vendored
|
@ -39,3 +39,50 @@ jobs:
|
||||||
asset_name: plantuml-${{ steps.version.outputs.VERSION }}.war
|
asset_name: plantuml-${{ steps.version.outputs.VERSION }}.war
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v1
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
|
- name: Login to DockerHub
|
||||||
|
uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: build docker tagged images - jetty
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: ${{ secrets.DOCKERHUB_USERNAME }}/plantuml-server:jetty-${{ steps.version.outputs.VERSION }}
|
||||||
|
file: Dockerfile.jetty
|
||||||
|
|
||||||
|
- name: build docker latest images - jetty
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: ${{ secrets.DOCKERHUB_USERNAME }}/plantuml-server:jetty
|
||||||
|
file: Dockerfile.jetty
|
||||||
|
|
||||||
|
- name: build docker tagged images - tomcat
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: ${{ secrets.DOCKERHUB_USERNAME }}/plantuml-server:tomcat-${{ steps.version.outputs.VERSION }}
|
||||||
|
file: Dockerfile.tomcat
|
||||||
|
|
||||||
|
- name: build docker latest images - tomcat
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: ${{ secrets.DOCKERHUB_USERNAME }}/plantuml-server:tomcat
|
||||||
|
file: Dockerfile.tomcat
|
||||||
|
|
||||||
|
- name: build docker latest images - jetty as latest
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: ${{ secrets.DOCKERHUB_USERNAME }}/plantuml-server:latest
|
||||||
|
file: Dockerfile.jetty
|
||||||
|
|
Loading…
Reference in New Issue
Block a user