Merge the docker build #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Docs Zip File | ||
on: | ||
release: | ||
types: [ published ] | ||
env: | ||
IMAGE_NAME_BASE: ${{ github.repository_owner }} | ||
jobs: | ||
add_docs_zip_to_release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Archive deployment-relevant documentation. | ||
run: | | ||
ARCHIVE_FILE_NAME="broker-server-release-${GITHUB_REF#refs/tags/v}-deployment-docs.zip" | ||
echo "ARCHIVE_FILE_NAME=$ARCHIVE_FILE_NAME" >> $GITHUB_ENV | ||
# TODO: | ||
# zip -r docker-compose-broker.yaml .env launchers/.env.broker launcher/Dockerfile-broker? launchers/README.md | ||
zip -r -q $ARCHIVE_FILE_NAME README.md CHANGELOG.md docker-compose.yaml .env connector/.env connector/Dockerfile connector/README.md | ||
- name: Upload deployment-relevant documentation | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: ${{ env.ARCHIVE_FILE_NAME }} | ||
tag: ${{ github.ref }} | ||
overwrite: true |