remove master branch restriction on docker-build
All checks were successful
Compile the repository / compile (pull_request) Successful in 10s

since the pipeline is only ever called on a tag, which will by convention only be committed to the master branch, we can be reasonably sure
that we are on the correct branch.
Tags are independent on branches which makes it impossible to check for tag AND master branch ref at the same time.
This commit is contained in:
mightypanders 2023-06-19 23:34:25 +02:00
parent 111ccaa880
commit 777ae330ad

View File

@ -11,7 +11,7 @@ env:
jobs: jobs:
build-docker-image: build-docker-image:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: gitea.ref == 'refs/heads/master' #if: gitea.ref == 'refs/heads/master'
container: catthehacker/ubuntu:act-latest container: catthehacker/ubuntu:act-latest
permissions: permissions:
contents: read contents: read