Skip to content

Build server/0.2.0

Build server/0.2.0 #8

Workflow file for this run

name: Build server image
run-name: Build ${{ github.ref_name }}
on:
push:
tags:
- "server/*"
env:
S3_BUCKET: battleship-tui-build-cache
jobs:
build:
name: Build server
runs-on: [self-hosted, arm64]
permissions:
contents: read
packages: write
steps:
- uses: Klavionik/gh-actions/build-image@main
name: Build
with:
context: .
service: server
build-args: |
VERSION=${{ github.ref_name }}
tags: |
type=match,pattern=server/(.*),group=1
cache-bucket: ${{ env.S3_BUCKET }}
cache-access-key: ${{ secrets.S3_ACCESS_KEY }}
cache-secret-key: ${{ secrets.S3_SECRET_KEY }}