- build.yaml: remove docker login/push, only verify image builds - release.yaml: new workflow to cross-compile binaries for linux/amd64, linux/arm64, darwin/amd64, darwin/arm64, windows/amd64 and publish them as Gitea Release assets on tag push 🤖 Generated with [Qoder][https://qoder.com]
23 lines
447 B
YAML
23 lines
447 B
YAML
run-name: build ushare docker image
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: debian
|
|
steps:
|
|
- name: prepare environment
|
|
uses: actions/checkout@v4
|
|
|
|
- name: print info
|
|
run: |
|
|
date '+%Y-%m-%dT%H:%M:%S'
|
|
whoami
|
|
echo "Tag = ${{ gitea.ref_name }}"
|
|
pwd && ls -alsh .
|
|
|
|
- name: build docker image
|
|
run: docker build -t ushare:${{ gitea.ref_name }} .
|