Skip to content

Commit

Permalink
weird copy stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
kayra1 committed May 9, 2024
1 parent d8bcc0b commit 2441bcc
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build-rock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@ jobs:
docker run -d -p 3000:3000 --name gocert gocert:latest
- name: Load config
run: |
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 mkdir /etc/config
docker cp key.pem gocert:/etc/config/key.pem
docker cp cert.pem gocert:/etc/config/cert.pem
docker cp config.yaml gocert:/etc/config/config.yaml
docker restart gocert
- name: Check if GoCert is successfully running
id: test_image
Expand Down

0 comments on commit 2441bcc

Please sign in to comment.