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