Skip to content

Commit 2a27aee

Browse files
Create docker-image.yml
1 parent 45c5796 commit 2a27aee

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/docker-image.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Docker Image CI/CD
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
jobs:
8+
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Build the Docker image
16+
working-directory: ./gsr-mirror
17+
18+
- name: Image Build Push
19+
uses: docker/build-push-action@v2
20+
with:
21+
username: ${{ github.actor }}
22+
password: ${{ secrets.TOKEN }}
23+
registry: ghcr.io
24+
repository: platformercloud/gsr-mirror
25+
tag_with_ref: true

0 commit comments

Comments
 (0)