Skip to content

Commit

Permalink
cleanup rock
Browse files Browse the repository at this point in the history
  • Loading branch information
kayra1 committed May 9, 2024
1 parent 7987476 commit 8b76948
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build-rock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,17 @@ jobs:
docker run -d -p 3000:3000 --name gocert gocert:latest
- name: Load config
run: |
docker cp ./ gocert:/etc/config
docker exec gocert /bin/pebble push -p /etc/config/cert.pem /etc/config/cert.pem
docker cp ./key.pem gocert:/etc/config
docker cp ./cert.pem gocert:/etc/config
docker cp ./config.yaml gocert:/etc/config
docker exec gocert /bin/pebble push -p /etc/config/key.pem /etc/config/key.pem
docker exec gocert /bin/pebble push -p /etc/config/cert.pem /etc/config/cert.pem
docker exec gocert /bin/pebble push -p /etc/config/config.yaml /etc/config/config.yaml
docker exec gocert /bin/pebble ls /etc/config
docker restart gocert
- name: Check if GoCert is successfully running
id: test_image
run: |
sleep 120
docker ps --no-trunc
docker logs gocert
sleep 10
curl -k https://localhost:3000 2>&1 | grep GoCert
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 8b76948

Please sign in to comment.