mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-07 21:48:18 -08:00
feat: version v0.0.2
This commit is contained in:
parent
0dceaf017a
commit
7ff317756f
36 changed files with 336 additions and 160 deletions
14
.github/workflows/docker.yml
vendored
14
.github/workflows/docker.yml
vendored
|
|
@ -9,9 +9,11 @@
|
|||
|
||||
name: Publish Docker image
|
||||
|
||||
on:
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
|
@ -64,6 +66,10 @@ jobs:
|
|||
with:
|
||||
images: gabehf/koito
|
||||
|
||||
- name: Extract tag version
|
||||
id: extract_version
|
||||
run: echo "KOITO_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||
|
||||
- name: Build and push Docker image
|
||||
id: push
|
||||
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
|
||||
|
|
@ -71,7 +77,11 @@ jobs:
|
|||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: gabehf/koito:latest
|
||||
tags: |
|
||||
gabehf/koito:latest
|
||||
gabehf/koito:${{ env.KOITO_VERSION }}
|
||||
build-args: |
|
||||
KOITO_VERSION=${{ env.KOITO_VERSION }}
|
||||
|
||||
- name: Generate artifact attestation
|
||||
uses: actions/attest-build-provenance@v2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue