Skip to content

Commit 87433ab

Browse files
committed
CI: publish docker image to Github Container Registry
1 parent ed60b11 commit 87433ab

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,16 @@ jobs:
1919

2020
- name: Build
2121
run: make build
22+
23+
- name: Login to GitHub Container Registry
24+
uses: docker/login-action@v1
25+
with:
26+
registry: ghcr.io
27+
username: ${{ github.actor }}
28+
password: ${{ secrets.GITHUB_TOKEN }}
29+
30+
- name: Tag docker image
31+
run: docker tag cert-manager-webhook-vkcloud:latest ghcr.io/vasiliy-t/cert-manager-webhook-vkcloud:latest
32+
33+
- name: Publish docker image to Github Container Registry
34+
run: docker push ghcr.io/vasiliy-t/cert-manager-webhook-vkcloud:latest

0 commit comments

Comments
 (0)