Merge pull request #2 from AntonPates/replace-api-gcorelabs-com #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
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.GH_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 |