Skip to content

init

init #8

Workflow file for this run

name: Release Binaries
on:
push:
tags:
- '*'
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Binary (amd64)
run: |
docker run --rm -w /app -v "$(pwd)":/app webpsh/libvips make
sudo chown -R $USER:$USER builds/
sha256sum builds/pixfolio-linux-amd64 > builds/pixfolio-linux-amd64.sha256
- name: Build Binary (arm64)
run: |
docker run --rm -w /app -v "$(pwd)":/app --platform linux/arm64 webpsh/libvips make
sudo chown -R $USER:$USER builds/
sha256sum builds/pixfolio-linux-arm64 > builds/pixfolio-linux-arm64.sha256
- name: Check for ldd version(AMD64 only)
run: |
ldd builds/pixfolio-linux-amd64
- name: Create Github Release
id: create_release
uses: "softprops/action-gh-release@v1"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
name: Pixfolio ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: alexellis/upload-assets@0.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
asset_paths: '["builds/_*"]'