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

Bump actions/upload-artifact from 3 to 4 #45

Bump actions/upload-artifact from 3 to 4

Bump actions/upload-artifact from 3 to 4 #45

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@v4
with:
name: demo.tar.gz
path: demo.tar.gz
retention-days: 5
if: github.event_name != 'pull_request'