Updating build workflow #6
@ -5,11 +5,20 @@ on:
|
||||
branches:
|
||||
- "master"
|
||||
- "development"
|
||||
paths-ignore: # Files in here will not trigger a build
|
||||
- "README.md"
|
||||
- "sharex.sxcu"
|
||||
- "LICENSE"
|
||||
- "docker-compose.yml"
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Get branch name
|
||||
id: branch-name
|
||||
uses: tj-actions/branch-names@v7
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
@ -49,7 +58,7 @@ jobs:
|
||||
with:
|
||||
push: true
|
||||
context: .
|
||||
tags: fascinated/sharex-php-uploader:${{ gitea.branch }}
|
||||
tags: fascinated/sharex-php-uploader:${{ steps.branch-name.outputs.current_branch }}
|
||||
cache-from: type=local,src=/tmp/.buildx-cache
|
||||
cache-to: type=local,dest=/tmp/.buildx-cache
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user