build: refactor build workflows (#7)

This commit is contained in:
l3uddz
2021-02-14 17:03:05 +00:00
committed by GitHub
parent ce3807b819
commit 3ee0125eeb
2 changed files with 3 additions and 8 deletions

View File

@@ -6,11 +6,6 @@ on:
- '*'
tags:
- 'v*'
pull_request:
types:
- opened
- reopened
- edited
jobs:
build:
@@ -102,7 +97,7 @@ jobs:
dockerfile: docker/Dockerfile
tags: latest
tag_with_ref: true
tag_with_sha: true
tag_with_sha: false
always_pull: true
# docker build (master)
@@ -116,7 +111,7 @@ jobs:
repository: l3uddz/nabarr/nabarr
dockerfile: docker/Dockerfile
tags: master
tag_with_sha: true
tag_with_sha: false
always_pull: true
# docker build (branch)

View File

@@ -36,7 +36,7 @@ jobs:
}
}
}
owner: ${{ github.event.repository.owner.name }}
owner: l3uddz
repo: ${{ github.event.repository.name }}
tag: ${{ steps.dockertag.outputs.replaced }}
env: