Skip to content

Create public release #1

Create public release

Create public release #1

Workflow file for this run

name: Create public release
on:
workflow_dispatch:
inputs:
version:
description: Version to release
required: true
jobs:
run-script:
name: Execute Shell Script
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Check out the private source code
uses: actions/checkout@v5
with:
repository: localstack/localstack-k8s-operator
token: ${{ secrets.PRIVATE_REPO_TOKEN }}
path: private-src
ref: ${{ inputs.version }}
- name: Copy manifests to final position
run: |
mkdir -p ${{ inputs.version }}
cp private-src/release/controller.yaml ${{ inputs.version }}/controller.yaml
- name: Create tag and push
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add "${{ inputs.version }}"
git commit -m "Add version ${{ inputs.version }}"
git tag -a "${{ inputs.version }}" -m "Release ${{ inputs.version }}"
git push origin "${{ inputs.version }}"