-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tag latest to point to most recent release (#84)
- Loading branch information
1 parent
56f7b7e
commit 6c41ffa
Showing
3 changed files
with
41 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Pre release builds | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+' | ||
- 'v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+' | ||
- 'v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+' | ||
|
||
jobs: | ||
build-image: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Extract tag | ||
id: extract_tag | ||
run: echo "::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/v})" | ||
- name: Print tag | ||
run: echo "Running pre release build for ${{ steps.extract_tag.outputs.tag }}" | ||
- name: Build kubernetes-tools image | ||
run: make build-image BUILD_TAG=${{ steps.extract_tag.outputs.tag }} | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
- name: Push kubernetes-tools image | ||
run: make push-image BUILD_TAG=${{ steps.extract_tag.outputs.tag }} |
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
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