Skip to content

Commit

Permalink
Merge pull request #11 from camaoag/ci_add_github_actions
Browse files Browse the repository at this point in the history
ci: add docker release workflow
  • Loading branch information
secustor authored Jun 29, 2021
2 parents 70b8acb + e6185e1 commit edd4797
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
push:
branches:
- '**'
- '!master'
pull_request:
branches: [ master ]

jobs:
test:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on: release

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags:
- camao/cert-manager-webhook-project-pinto:latest
- camao/cert-manager-webhook-project-pinto:$GITHUB_REF
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/relea
Once everything is set up, you can now install the Pinto Webhook:
- Clone this repository:
```bash
git clone https://gitlab.com/whizus/cert-manager-webhook-pinto.git
git clone https://github.com/camaoag/cert-manager-webhook-project-pinto.git
```

- Run:
Expand Down

0 comments on commit edd4797

Please sign in to comment.