Skip to content

Commit

Permalink
ci: add Release GHA
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Lipovetsky <[email protected]>
  • Loading branch information
dkoshkin and dlipovetsky committed Feb 22, 2024
1 parent 68a01a6 commit 7d3da01
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release
on:
push:
tags:
- "*-d2iq.*"

# Because variables are not exported, they are not visible by child processes, e.g. make
env:
registry: ghcr.io/mesosphere

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 \
REGISTRY=${{ env.registry }} \
VERSION=${{ github.ref_name }} \
docker-build-csi \
docker-push-csi

0 comments on commit 7d3da01

Please sign in to comment.