Skip to content

Commit a4a379d

Browse files
Merge pull request #2 from platformercloud/feature/github-action
Feature/GitHub action
2 parents eb7ab99 + 726928f commit a4a379d

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

.github/workflows/docker-image.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,28 @@ name: Docker Image CI/CD
22

33
on:
44
push:
5-
branches:
6-
- master
5+
branches:
6+
- master
77

88
jobs:
99

1010
build:
1111

1212
runs-on: ubuntu-latest
13-
13+
1414
defaults:
1515
run:
1616
working-directory: ./gsr-mirror
1717

1818
steps:
19-
- uses: actions/checkout@v2
20-
name: Checkout
21-
22-
- name: Image Build Push
23-
uses: docker/build-push-action@v2
24-
with:
25-
username: ${{ github.actor }}
26-
password: ${{ secrets.TOKEN }}
27-
registry: ghcr.io
28-
repository: platformercloud/git-mirror
29-
tag_with_ref: true
19+
- uses: actions/checkout@v2
20+
name: Checkout
21+
22+
- name: Image Build Push
23+
uses: docker/build-push-action@v2
24+
with:
25+
username: ${{ github.actor }}
26+
password: ${{ secrets.TOKEN }}
27+
registry: ghcr.io
28+
repository: platformercloud/git-mirror-gsr
29+
tag_with_ref: true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea/

0 commit comments

Comments
 (0)