mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-15 10:25:55 -07:00
chore: update workflow to eliminate dev branch
This commit is contained in:
parent
36f984a1a2
commit
6a53fca8f3
1 changed files with 4 additions and 4 deletions
8
.github/workflows/docker.yml
vendored
8
.github/workflows/docker.yml
vendored
|
|
@ -12,9 +12,9 @@ name: Publish Docker image
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- "v*"
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- main
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
@ -76,11 +76,11 @@ jobs:
|
||||||
gabehf/koito:${{ env.KOITO_VERSION }}
|
gabehf/koito:${{ env.KOITO_VERSION }}
|
||||||
build-args: |
|
build-args: |
|
||||||
KOITO_VERSION=${{ env.KOITO_VERSION }}
|
KOITO_VERSION=${{ env.KOITO_VERSION }}
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|
||||||
push_dev:
|
push_dev:
|
||||||
name: Push Docker image (dev branch)
|
name: Push Docker image (dev branch)
|
||||||
if: github.ref == 'refs/heads/dev'
|
if: github.ref == 'refs/heads/main'
|
||||||
needs: test
|
needs: test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue