This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
Update scorecard.yml (#71) #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build epid-verification-service via docker compose | |
on: | |
workflow_dispatch: | |
push: | |
branches: [master, '*rel'] | |
pull_request: | |
branches: [master, '*rel'] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout scm | |
uses: actions/checkout@v3 | |
- name: build epid in docker compose | |
run: | | |
set -e | |
cd build | |
sed -i 's|fdouser|root|g' docker-compose.yml | |
sed -i 's|fdouser|root|g' Dockerfile | |
sed -i 's|RUN useradd.*|#RUN useradd -ms /bin/bash root|' Dockerfile | |
docker-compose up --build --exit-code-from epid-verification-service-build | |
- name: tar epid-verification-service | |
run : tar -czvf demo.tar.gz demo/ | |
- name: archive artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: demo.tar.gz | |
path: demo.tar.gz | |
retention-days: 5 | |
if: github.event_name != 'pull_request' |