Skip to content

Commit 99fb35e

Browse files
committed
create docker image
Signed-off-by: Peter Balogh <[email protected]>
1 parent fc94619 commit 99fb35e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/docker.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Docker
2+
on:
3+
push:
4+
branches:
5+
- master
6+
tags:
7+
- "[0-9]+.[0-9]+.[0-9]+"
8+
jobs:
9+
docker:
10+
name: Docker
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
- name: Build jwt-to-rbac
16+
uses: docker/build-push-action@v1
17+
with:
18+
username: ${{ github.actor }}
19+
password: ${{ secrets.CR_PAT }}
20+
registry: ghcr.io
21+
repository: banzaicloud/jwt-to-rbac
22+
dockerfile: Dockerfile
23+
tag_with_ref: true
24+
add_git_labels: true

0 commit comments

Comments
 (0)