Skip to content

Update Image Version to bd04ccb #117

Update Image Version to bd04ccb

Update Image Version to bd04ccb #117

Workflow file for this run

name: buildpushprod
on:
push:
tags:
- v*
jobs:
build_test:
# The type of runner that the job will run on
name: buildpush
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: get last image tag
id: tag
uses: CumulusDS/[email protected]
with:
file: charts/vehicle-signal-decoding/values.yaml
buildtag: image.tag
- name: Update Image Version in the related HelmChart values.yaml
uses: fjogeleit/yaml-update-action@v1
with:
valueFile: 'charts/vehicle-signal-decoding/values-prod.yaml'
propertyPath: 'image.tag'
value: ${{steps.tag.outputs.buildtag}}
branch: main
message: 'Update Image Version to value: ${{steps.tag.outputs.buildtag}}'