mirror of
https://github.com/cert-manager/webhook-example.git
synced 2025-08-22 20:22:51 +02:00
+ login to ghcr.io docker
This commit is contained in:
parent
ca75fc8cb1
commit
37f15ecbce
1 changed files with 6 additions and 1 deletions
7
.github/workflows/docker-image.yml
vendored
7
.github/workflows/docker-image.yml
vendored
|
@ -13,8 +13,13 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Build the Docker image
|
||||
run: docker build . --file Dockerfile --tag ghcr.io/g-core/cert-manager-webhook-gcore:latest
|
||||
|
||||
|
||||
- name: Log in to registry
|
||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
|
||||
|
||||
|
||||
- name: Push the Docker image
|
||||
run: docker push ghcr.io/g-core/cert-manager-webhook-gcore:latest
|
||||
|
|
Loading…
Reference in a new issue