Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePromidius authored Jun 3, 2022
2 parents 17a0c46 + f239927 commit bb3727d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Build & Publish
name: Build Docker
on:
push:
branches: [ main, develop , test ]

env:
IMAGE_NAME: "thepromidius/manga-tagger"
jobs:
docker_develop:
name: Build Nightly Docker if Develop push
name: Nightly Build
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' }}
steps:
Expand All @@ -25,7 +26,7 @@ jobs:
push: true
tags: ${{ env.IMAGE_NAME }}:nightly
docker_stable:
name: Build Stable Docker if Main push
name: Stable Build
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
steps:
Expand All @@ -47,9 +48,8 @@ jobs:
with:
push: true
tags: ${{ env.IMAGE_NAME }}:latest

docker_test:
name: Build test Docker image if test push
name: Test Build
runs-on: ubuntu-latest
if: ${{github.ref == 'refs/heads/test' }}
steps:
Expand All @@ -67,3 +67,4 @@ jobs:
with:
push: true
tags: ${{ env.IMAGE_NAME }}:test

0 comments on commit bb3727d

Please sign in to comment.