branch name fix?
All checks were successful
Publish Docker Image / docker (push) Successful in 24s

This commit is contained in:
Lee 2023-07-08 01:20:14 +01:00
parent 072779d19a
commit 5dbfd02153

View File

@ -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