Skip to content

Commit

Permalink
adding manual bump and updating release pipeline conditional (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillypHenning authored Aug 3, 2022
1 parent 702d35d commit a10c3ef
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ jobs:
value: ${{ env.BASE_TAG}}
commitChange: true
updateFile: true
if: github.event_name != 'push' && env.IMAGE_BUMP == true
if: github.event_name != 'push' && env.IMAGE_BUMP == 'true'
34 changes: 34 additions & 0 deletions .github/workflows/bump-image-tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Bump bitops base image tag

on:
workflow_dispatch:
inputs:
bitops_base_tag:
description: Specifies the tag that will be published
type: string
default: plugins-base
required: true

env:
BASE_TAG: plugins-base-RC
IMAGE_BUMP: true

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- #
# ALL!push: BUMP #
# ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- #
# Bump the version in `prebuilt-config/bitops-tag
- name: Bump version tag
uses: fjogeleit/yaml-update-action@main
with:
valueFile: prebuilt-config/bitops-tag.yaml
propertyPath: 'tags.bitops_base'
value: ${{ env.BASE_TAG}}
commitChange: true
updateFile: true
if: github.event_name != 'push' && env.IMAGE_BUMP == 'true'

0 comments on commit a10c3ef

Please sign in to comment.