Skip to content

Merge pull request #62 from spectrocloud/update-pe-version-v4.5.8-118… #42

Merge pull request #62 from spectrocloud/update-pe-version-v4.5.8-118…

Merge pull request #62 from spectrocloud/update-pe-version-v4.5.8-118… #42

Workflow file for this run

name: release
on:
push:
tags:
- v*
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@master
with:
platforms: all
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
- name: Install earthly
uses: earthly/actions-setup@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
version: "latest"
use-cache: true
- name: Build artifacts
run: |
earthly --ci --output +release --VERSION ${{ github.ref_name }}
- name: Upload release artifacts
uses: softprops/action-gh-release@v2
if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
files: build/*