Skip to content

Commit bcee8a7

Browse files
authored
Slight updates to GitHub build workflow (#284)
1 parent 17a8a06 commit bcee8a7

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@ name: Build Apprise API Image
22

33
on:
44
push:
5-
branches: master
5+
branches:
6+
- master
67
tags:
78
- v*
89

10+
permissions:
11+
contents: read
12+
packages: write
13+
914
jobs:
1015
buildx:
1116
name: Build Docker Image
@@ -35,19 +40,20 @@ jobs:
3540
echo "Name is ${ghcr_name}"
3641
echo "ghcr-repository=${ghcr_name}" >> $GITHUB_OUTPUT
3742
38-
- name: Docker meta
43+
- name: Docker Meta
3944
id: docker_meta
4045
uses: docker/metadata-action@v5
4146
with:
4247
images: |
4348
ghcr.io/${{ steps.set-ghcr-repository.outputs.ghcr-repository }}
44-
name=docker.io/caronc/apprise,enable=${{ steps.push-other-places.outputs.enable }}
49+
name=docker.io/caronc/apprise-api,enable=${{ steps.push-other-places.outputs.enable }}
4550
tags: |
4651
type=ref,event=branch
4752
type=ref,event=tag
4853
type=semver,pattern={{version}}
4954
type=semver,pattern={{major}}.{{minor}}
5055
type=edge
56+
type=raw,value=latest,enable={{is_default_branch}}
5157
5258
- name: Set up QEMU
5359
uses: docker/setup-qemu-action@v3

0 commit comments

Comments
 (0)