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

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