Skip to content

Commit

Permalink
initiate release for 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bbucher-sigsci committed Apr 21, 2022
1 parent a383c6f commit 3d627e6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/manual-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Manual - Produce Docker Image, GH Release

on:
push:
branch:
- controller-1.1.3

jobs:
# Manual workflow to backfill any failed/missed builds
# Update the variale TAG below as well as line #5 in values-sigsci.yaml file
# This action will build and push the tagged in imaged to docker hub, build and push Github Tag
build_push_release:
runs-on: ubuntu-latest
env:
TAG: "1.1.3"
steps:
- uses: actions/checkout@v2
- name: Build and push Docker image
env:
REPO: signalsciences/sigsci-nginx-ingress-controller
run: |
docker build . --file Dockerfile --build-arg NGINX_INGRESS_VERSION=v${TAG} --tag ${REPO}:${TAG}
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker push ${REPO}:${TAG}
- name: Create Github Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.TAG }}
release_name: Match release ${{ env.TAG }}
body: |
Match release kubernetes/ingress-nginx v${{ env.TAG }}
draft: false
prerelease: false

0 comments on commit 3d627e6

Please sign in to comment.