Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
fix pfi-exemplar-container-image workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
finn-block committed Aug 7, 2024
1 parent 443961a commit 24f4bff
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/pfi-exemplar-container-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,23 @@ on:
branches:
- main
paths:
- javascript/tbdex-pfi-exemplar
- 'javascript/tbdex-pfi-exemplar/*'
- .github/workflows/pfi-exemplar-container-image.yaml
pull_request:
branches:
- main
paths:
- javascript/tbdex-pfi-exemplar
- 'javascript/tbdex-pfi-exemplar/*'
- .github/workflows/pfi-exemplar-container-image.yaml

jobs:
build-image:
name: ${{ matrix.directory }}
name: javascript/tbdex-pfi-exemplar
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

strategy:
fail-fast: false
matrix:
include:
- directory: javascript/tbdex-pfi-exemplar
image: ghcr.io/tbd54566975/tbd-examples-tbdex-pfi-exemplar

steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -42,12 +37,12 @@ jobs:
id: meta
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
with:
images: ${{ matrix.image }}
images: ghcr.io/tbd54566975/tbd-examples-tbdex-pfi-exemplar

- name: Build and push container image
uses: docker/build-push-action@94f8f8c2eec4bc3f1d78c1755580779804cb87b2 # v6.0.1
with:
context: ${{ matrix.directory }}
context: javascript/tbdex-pfi-exemplar
push: true
target: ${{ matrix.target }}
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit 24f4bff

Please sign in to comment.