Skip to content

Bump alpine from 3.19 to 3.20 (#12) #23

Bump alpine from 3.19 to 3.20 (#12)

Bump alpine from 3.19 to 3.20 (#12) #23

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
permissions:
pull-requests: write
contents: write
repository-projects: write
env:
IMAGE: "${{ secrets.DOCKER_HUB_USERNAME }}/bpdispatcher"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup QEMU
uses: docker/setup-qemu-action@v2
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: ${{ env.IMAGE }}:${{github.ref_name}}
release:
needs: docker
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Update Helm Chart Values
uses: brainfair/helm-set-image-tag-action@main
with:
tag_value: ${{ github.ref }}
values_files: charts/bpdispatcher/values.yaml
commit_branch: main
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v3
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"