Skip to content

fix: update write back target (#634) #448

fix: update write back target (#634)

fix: update write back target (#634) #448

name: Docker Build and Push
on:
push:
branches:
- "main"
paths:
- "apps/proompteng/**"
jobs:
version:
runs-on: arc-arm64
outputs:
new_tag: ${{ steps.tag_version.outputs.new_tag }}
changelog: ${{ steps.tag_version.outputs.changelog }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
build-proompteng:
needs: version
uses: ./.github/workflows/docker-build-common.yaml
with:
image_name: proompteng
dockerfile: ./apps/proompteng/Dockerfile
context: .
new_tag: ${{ needs.version.outputs.new_tag }}
secrets:
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}