Skip to content

Merge the docker build #1

Merge the docker build

Merge the docker build #1

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

Check failure on line 15 in .github/workflows/release_docs_zip.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release_docs_zip.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
- 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