Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Commit 4ea5c99

Browse files
committed
Add GitHub Actions to help publishing Docker images
1 parent 234b127 commit 4ea5c99

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.git
2+
.github
23
LICENSE
34
README.md
45
run-plantuml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish Docker images
2+
on:
3+
push:
4+
tags:
5+
- "**"
6+
7+
jobs:
8+
push:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
name: Check out code
13+
with:
14+
fetch-depth: 1
15+
16+
- uses: mr-smithers-excellent/docker-build-push@v5
17+
name: Build and push Docker image
18+
with:
19+
image: miy4/plantuml
20+
addLatest: true
21+
registry: docker.io
22+
username: ${{ secrets.DOCKER_USERNAME }}
23+
password: ${{ secrets.DOCKER_PASSWORD }}

0 commit comments

Comments
 (0)