Skip to content

Commit ff6ad1d

Browse files
committed
[SOURCEFROG] Added dockerhub sync step
1 parent 5fd2bc4 commit ff6ad1d

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Docker Hub Sync
2+
on:
3+
push:
4+
paths:
5+
- docs/docker.md
6+
- .github/workflows/dockerhub-description.yml
7+
# Jobs
8+
jobs:
9+
docker-sync:
10+
runs-on: ubuntu-20.04
11+
steps:
12+
- uses: actions/checkout@master
13+
14+
- uses: meeDamian/[email protected]
15+
with:
16+
user: ${{ secrets.DOCKER_USERNAME }}
17+
pass: ${{ secrets.DOCKER_PASSWORD }}
18+
readme: ./docs/docker.md
19+
description: true
20+
slug: sourcefrog/cicd

docs/docker.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# CICD Example Repository
2+
3+
For detailed information check out the [README](https://github.com/source-frog/CI-CD/blob/master/README.md)
4+
5+
## How to use this image
6+
7+
The image already contains the compiled ionic progressive web app within nginx. You can use it by:
8+
9+
```
10+
docker run -p 5000:80 sourcefrog/cicd:latest
11+
```

0 commit comments

Comments
 (0)