Skip to content

Commit c9445db

Browse files
authored
Create main.yml
1 parent d5362b7 commit c9445db

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/main.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publish Docker
2+
3+
# Controls when the action will run. Triggers the workflow on push or pull request
4+
# events but only for the master branch
5+
on:
6+
push:
7+
branches: [ master, slim, alpine ]
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@master
13+
- name: Publish to Registry
14+
uses: elgohr/Publish-Docker-Github-Action@master
15+
with:
16+
name: felubra/npm-script-webhook
17+
username: ${{ secrets.DOCKER_USERNAME }}
18+
password: ${{ secrets.DOCKER_PASSWORD }}
19+
tags: "latest,slim,alpine"

0 commit comments

Comments
 (0)