forked from plantuml/plantuml-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update jetty and tomcat to latest version
- Loading branch information
1 parent
b1b7dfb
commit 9cb9cec
Showing
30 changed files
with
1,685 additions
and
603 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
name: Docker | ||
|
||
on: | ||
workflow_run: | ||
workflows: | ||
- Main | ||
types: | ||
- completed | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
if: github.event.workflow_run.conclusion == 'success' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Docker tomcat meta | ||
id: docker_meta_tomcat | ||
uses: crazy-max/ghaction-docker-meta@v3 | ||
with: | ||
flavor: | | ||
latest=false | ||
prefix= | ||
suffix= | ||
images: plantuml/plantuml-server | ||
tags: | | ||
type=semver,pattern=tomcat-{{raw}} | ||
type=raw,value=tomcat | ||
- name: Docker jetty meta | ||
id: docker_meta_jetty | ||
uses: crazy-max/ghaction-docker-meta@v3 | ||
with: | ||
flavor: | | ||
latest=true | ||
prefix= | ||
suffix= | ||
images: plantuml/plantuml-server | ||
tags: | | ||
type=semver,pattern={{raw}} | ||
type=semver,pattern=jetty-{{raw}} | ||
type=raw,value=jetty | ||
- 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 & push tomcat | ||
id: docker_build_tomcat | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
file: ./Dockerfile.tomcat | ||
platforms: linux/amd64 | ||
push: true | ||
tags: ${{ steps.docker_meta_tomcat.outputs.tags }} | ||
labels: ${{ steps.docker_meta_tomcat.outputs.labels }} | ||
|
||
- name: Build & push jetty | ||
id: docker_build_jetty | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
file: ./Dockerfile.jetty | ||
platforms: linux/amd64 | ||
push: true | ||
tags: ${{ steps.docker_meta_jetty.outputs.tags }} | ||
labels: ${{ steps.docker_meta_jetty.outputs.labels }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.