Skip to content

Add publish workflow to build and push curator-manager image to ghcr #1

Add publish workflow to build and push curator-manager image to ghcr

Add publish workflow to build and push curator-manager image to ghcr #1

Workflow file for this run

name: publish
on:
push:
branches:
- main
registry_package:
types:
- published
name:
- ghcr.io/dystewart/curator-manager:latest
workflow_dispatch:
jobs:
publish-vault-k8s-login:
runs-on: ubuntu-latest
steps:
- name: Login to GitHub Container Registry
- uses: actions/checkout@v2
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.PUBLISH_SECRET }}
- name: Build the Docker image
run: |
make docker-build -t ghcr.io/dystewart/curator-manager:latest
docker push ghcr.io/dystewart/curator-manager:latest