Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
IyanRobles authored Apr 15, 2024
1 parent bfe4ce6 commit c7da390
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,9 @@ jobs:
sed -i "s/SOMEIP/${DEPLOY_HOST}/g" gatewayservice/openapi.yaml
- name: Setup certificate
run: |
CERTIFICATE=${{ secrets.CERTIFICATE }}
CERTIFICATE_KEY=${{ secrets.CERTIFICATE_KEY }}
mkdir -p gatewayservice/certificate
printf "%s" "${CERTIFICATE}" | tr -d "\r" > gatewayservice/certificate/certificate.crt
printf "%s" "${CERTIFICATE_KEY}" | tr -d "\r" > gatewayservice/certificate/certificatekey.key
echo -e "${{ secrets.CERTIFICATE }}" > gatewayservice/certificate/certificate.crt
echo -e "${{ secrets.CERTIFICATE_KEY }}" > gatewayservice/certificate/certificatekey.key
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
env:
Expand Down

0 comments on commit c7da390

Please sign in to comment.