Release Cloud Provider GCP #9
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: Release Cloud Provider GCP | |
on: | |
workflow_dispatch: | |
push: | |
branch: | |
- 'faiq/add-build' | |
permissions: | |
packages: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: bazelbuild/setup-bazelisk@v2 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: build container images | |
run: | | |
bazel run //cmd/cloud-controller-manager:image | |
docker tag registry.k8s.io/cmd/cloud-controller-manager:image ghcr.io/mesosphere/cloud-controller-manager-gcp:${{ github.event.inputs.tag }} | |
docker push ghcr.io/mesosphere/cloud-controller-manager-gcp:${{ github.event.inputs.tag }} |