Skip to content

Commit

Permalink
ci: add Release GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoshkin committed Feb 22, 2024
1 parent 04f8777 commit b4d382f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release
on:
push:
tags:
- "*-d2iq.*"

jobs:
release:
name: Release
runs-on:
- ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Login to container registry
uses: docker/login-action@v2
with:
registry: ${{ env.registry }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push container image
run: |
make push-images
2 changes: 1 addition & 1 deletion hack/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ set -x
DO_WINDOWS_BUILD=${DO_WINDOWS_BUILD_ENV:-true}

# BASE_REPO is the root path of the image repository
readonly BASE_IMAGE_REPO=gcr.io/cloud-provider-vsphere
readonly BASE_IMAGE_REPO=ghcr.io/mesosphere/cloud-provider-vsphere

# Release images
readonly CSI_IMAGE_RELEASE=${BASE_IMAGE_REPO}/csi/release/driver
Expand Down

0 comments on commit b4d382f

Please sign in to comment.