Skip to content

Commit d1443f2

Browse files
committed
Updating Github actions
1 parent c8ef84e commit d1443f2

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Docker Image CI
1+
name: Docker Build Dev - Latest
22

33
on:
44
push:

.github/workflows/docker-prod.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Docker Build Prod - Stable
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- "master"
7+
pull_request:
8+
branches-ignore:
9+
- "master"
10+
11+
jobs:
12+
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
-
19+
name: Login to DockerHub
20+
uses: docker/login-action@v2
21+
with:
22+
username: ${{ secrets.DOCKERHUB_USERNAME }}
23+
password: ${{ secrets.DOCKERHUB_TOKEN }}
24+
25+
-
26+
name: Build and push
27+
uses: docker/build-push-action@v3
28+
with:
29+
push: true
30+
tags: themranderson/afraidorgupdater:stable

0 commit comments

Comments
 (0)