Skip to content

Improve items delete confirmation and socket onMessage #20

Improve items delete confirmation and socket onMessage

Improve items delete confirmation and socket onMessage #20

on:
push:
branches-ignore:
- main
jobs:
release:
name: release
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
# Checkout code
- uses: actions/checkout@v3
with:
fetch-depth: 0
# Fetch tags
- run: git fetch --force --tags
# Set version environment
- name: Set VERSION
run: |
echo "YBFEED_VERSION=`git describe --tags`" >> $GITHUB_ENV
# Build web ui
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- run: npm install
working-directory: ./web/ui
- run: npm run build
working-directory: ./web/ui
# Build docker image
- uses: ko-build/[email protected]
- run: GOFLAGS="-ldflags=-X=main.version=$YBFEED_VERSION" ko build -B --platform all --tags dev --sbom none ./cmd/ybfeed
env:
KO_DOCKER_REPO: ghcr.io/ybizeul