Skip to content

Commit 531ee63

Browse files
committed
chore: update Dockerfile path in workflows and remove debug steps
Signed-off-by: Awambeng Rodrick <awambengrodrick@gmail.com>
1 parent 0c0300a commit 531ee63

3 files changed

Lines changed: 2 additions & 19 deletions

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
uses: docker/build-push-action@v3
5151
with:
5252
context: ./keycloak-oauth-sig/oid4vci-deployment
53-
file: ./Dockerfile
53+
file: ./keycloak-oauth-sig/oid4vci-deployment/Dockerfile
5454
push: true
5555
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
5656

.github/workflows/publish-chart-as-oci-image.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Publish Helm Chart as OCI Image
22

33
on:
4-
push:
5-
branches:
6-
- test
74
workflow_dispatch:
85

96
permissions:

.github/workflows/publish-image-to-ghcr.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,6 @@ jobs:
3232
submodules: recursive
3333
fetch-depth: 0
3434

35-
- name: Debug tree
36-
run: |
37-
echo "Repo root:"
38-
ls -R .
39-
echo ""
40-
echo "Submodule path:"
41-
ls -R keycloak-oauth-sig || echo "Submodule missing"
42-
4335
- name: Set up Docker Buildx
4436
id: builder
4537
uses: docker/setup-buildx-action@v3
@@ -72,18 +64,12 @@ jobs:
7264
${{ github.ref == 'refs/heads/main' && 'latest' || '' }}
7365
${{ startsWith(github.ref, 'refs/tags/v') && 'type=semver,pattern={{version}}' || '' }}
7466
75-
- name: List submodule directory (debug)
76-
run: |
77-
ls -la keycloak-oauth-sig/oid4vci-deployment
78-
- name: Verify Dockerfile exists
79-
run: |
80-
if [ -f ./keycloak-oauth-sig/oid4vci-deployment/Dockerfile ]; then echo "Dockerfile found"; else echo "Dockerfile not found"; exit 1; fi
8167
- name: Build Docker image and push to GHCR
8268
id: push
8369
uses: docker/build-push-action@v5
8470
with:
8571
context: ./keycloak-oauth-sig/oid4vci-deployment
86-
file: ./Dockerfile
72+
file: ./keycloak-oauth-sig/oid4vci-deployment/Dockerfile
8773
builder: ${{ steps.builder.outputs.name }}
8874
push: true
8975
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)