Skip to content

Commit

Permalink
fix: adds release process here
Browse files Browse the repository at this point in the history
  • Loading branch information
faiq committed Oct 11, 2023
1 parent e64cf3b commit dbbe5b6
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release Cloud Provider GCP

on:
workflow_dispatch:
push:
branch:
- 'faiq/add-build'

permissions:
packages: write
#${{ github.event.inputs.tag }}
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:TEST
docker push ghcr.io/mesosphere/cloud-controller-manager-gcp:TEST

0 comments on commit dbbe5b6

Please sign in to comment.