Skip to content

Docker Publish (Production Images) #3

Docker Publish (Production Images)

Docker Publish (Production Images) #3

name: Docker Publish (Production Images)
on:
workflow_dispatch:
release:
types: [released]
schedule:
- cron: '25 6 * * 1'
jobs:
get-latest-release:
runs-on: ubuntu-24.04
outputs:
release_tag: ${{ steps.get_latest_release.outputs.release_tag }}
steps:
- name: Get Latest Release
id: get_latest_release
run: |
LATEST_TAG=$(curl -s https://api.github.com/repos/${{ github.repository }}/releases/latest | jq -r .tag_name)
echo "release_tag=${LATEST_TAG}" >> $GITHUB_OUTPUT
build-production-images:
uses: ./.github/workflows/service_docker-build-and-publish.yml
secrets: inherit
with:
release_type: 'latest'
ref: ${{ needs.get-latest-release.outputs.release_tag }}