Skip to content

Commit

Permalink
Add CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
sautmanurung1 committed Apr 23, 2022
1 parent 8049220 commit 347ebcc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
- name: Login To DockerHub
uses: docker/login-action@v1
with:
dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub-password: ${{ secrets.DOCKERHUB_PASSWORD }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and Push
uses: docker/build-push-action@v2
with:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Test Clean Architecture Go
uses: gopkg.in/karalabe/cookiejar.v2/cmd/cookiejar@v2
- uses: actions/checkout@v3

- name: Setup go
uses: actions/setup-go@v3
with:
go-version: '1.18'
- run: go test -v -cover ./...

0 comments on commit 347ebcc

Please sign in to comment.