Skip to content

Release

Release #81

Workflow file for this run

name: Release
on:
release:
types:
- published
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: tag name
id: tagName
run: |
TAG=${GITHUB_REF##*/}
echo "tag=$TAG" >> $GITHUB_OUTPUT
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@16c0bc4a6e6ada2cfd8afd41d22d95379cf7c32a
- name: Install homebrew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install oras
- name: fetch envoy
run: |
./scripts/fetch-envoy ${{ steps.tagName.outputs.tag }} darwin amd64
./scripts/fetch-envoy ${{ steps.tagName.outputs.tag }} darwin arm64
./scripts/fetch-envoy ${{ steps.tagName.outputs.tag }} linux amd64
./scripts/fetch-envoy ${{ steps.tagName.outputs.tag }} linux arm64
- name: Upload artifacts to release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ steps.tagName.outputs.tag }} bin/envoy-* --clobber