Skip to content

Commit 5e47b15

Browse files
committed
Tweaks to image publish workflow
Signed-off-by: Emiliano Suñé <emiliano.sune@gmail.com>
1 parent 938181a commit 5e47b15

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
name: Build, Update Config, and Deploy Development
1+
name: Build latest development image
22
on:
33
workflow_dispatch:
44
push:
55
branches:
66
- main
7+
paths:
8+
- "docker/oidc-controller/**"
9+
- "oidc-controller/**"
10+
- "html-templates/**"
711
jobs:
812
build:
913
name: "Build ACAPy VC-AuthN"
@@ -12,5 +16,4 @@ jobs:
1216
with:
1317
tag: "dev"
1418
ref: "main"
15-
platforms: "linux/amd64"
16-
19+
platforms: "linux/amd64,linux/arm64"

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Publish ACAPy VC-AuthN Image
22
run-name: Publish ACAPy VC-AuthN ${{ inputs.tag || github.event.release.tag_name }} Image
33
on:
4+
workflow_dispatch:
45
release:
56
types: [published]
67
workflow_call:
@@ -12,7 +13,7 @@ on:
1213
platforms:
1314
description: "Platforms - Comma separated list of the platforms to support."
1415
required: true
15-
default: linux/amd64
16+
default: linux/amd64,linux/arm64
1617
type: string
1718
ref:
1819
description: "Optional - The branch, tag or SHA to checkout."
@@ -94,8 +95,7 @@ jobs:
9495
tags: |
9596
type=semver,pattern={{version}}
9697
type=semver,pattern={{major}}.{{minor}}
97-
type=ref,event=pr
98-
type=sha
98+
type=raw,value={{inputs.tag}}
9999
100100
- name: Build and Push Image to ghcr.io
101101
uses: docker/build-push-action@v6

0 commit comments

Comments
 (0)