Skip to content

Commit

Permalink
Updated PDK paths
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Dec 11, 2023
1 parent 9c8b71a commit 66e41e9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pdk-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: PDK-Dev

on:
push:
branches:
- Develop
branches-ignore:
- main

jobs:
build:
Expand All @@ -23,7 +23,7 @@ jobs:

- name: Login with docker to ECR
id: login-ecr
run: aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
run: aws ecr get-login-password --region eu-west-1 | docker login --username AWS --password-stdin 070318080841.dkr.ecr.eu-west-1.amazonaws.com


- name: Pull docker image
Expand All @@ -41,3 +41,4 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
aws s3 sync --acl public-read --region eu-west-1 target/site ${{ secrets.AWS_S3_PATH }}/reporting/${GITHUB_REF#refs/heads/}
11 changes: 6 additions & 5 deletions .github/workflows/pdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@13d241b293754004c80624b5567555c4a39ffbe3
with:
Expand All @@ -24,16 +24,17 @@ jobs:

- name: Login with docker to ECR
id: login-ecr
run: aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
run: aws ecr get-login-password --region eu-west-1 | docker login --username AWS --password-stdin 070318080841.dkr.ecr.eu-west-1.amazonaws.com


- name: Pull docker image
run: docker pull public.ecr.aws/openpeppol/pdk:latest
run: docker pull 070318080841.dkr.ecr.eu-west-1.amazonaws.com/pdk:latest

- name: Prepare PDK
run: docker run --rm -i -v $(pwd):/src public.ecr.aws/openpeppol/pdk:latest pdk -T
run: docker run --rm -i -v $(pwd):/src 070318080841.dkr.ecr.eu-west-1.amazonaws.com/pdk:latest pdk -T

- name: Run PDK
run: docker run --rm -i -v $(pwd):/src public.ecr.aws/openpeppol/pdk:latest pdk
run: docker run --rm -i -v $(pwd):/src 070318080841.dkr.ecr.eu-west-1.amazonaws.com/pdk:latest pdk

- name: Publish to Test-Docs
env:
Expand Down

0 comments on commit 66e41e9

Please sign in to comment.