-
-
Save coindegen/818c4d7ac358290cb72833ce76d00831 to your computer and use it in GitHub Desktop.
Github Actions deploy to fly logs
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: Fly Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: Deploy app | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: superfly/flyctl-actions/setup-flyctl@master | |
- name: Deploy production | |
run: flyctl deploy --remote-only | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |
- name: Deploy testnet | |
run: flyctl deploy --app scatter-api-testing --remote-only | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_TESTNET }} |
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
##[debug]Evaluating: secrets.FLY_API_TOKEN | |
##[debug]Evaluating Index: | |
##[debug]..Evaluating secrets: | |
##[debug]..=> Object | |
##[debug]..Evaluating String: | |
##[debug]..=> 'FLY_API_TOKEN' | |
##[debug]=> '***' | |
##[debug]Result: '***' | |
##[debug]Evaluating condition for step: 'Deploy production' | |
##[debug]Evaluating: success() | |
##[debug]Evaluating success: | |
##[debug]=> true | |
##[debug]Result: true | |
##[debug]Starting: Deploy production | |
##[debug]Loading inputs | |
##[debug]Loading env | |
Run flyctl deploy --remote-only | |
##[debug]/usr/bin/bash -e /home/runner/work/_temp/56c479a9-5adf-4162-b6b9-8ba277d51064.sh | |
==> Verifying app config | |
Validating /home/runner/work/scatter-api/scatter-api/fly.toml | |
Platform: machines | |
✓ Configuration is valid | |
--> Verified app config | |
==> Building image | |
WARN Failed to start remote builder heartbeat: Not authorized to access this firecrackerapp | |
Waiting for remote builder fly-builder-empty-surf-8694... | |
Remote builder fly-builder-empty-surf-8694 ready | |
==> Building image with Docker | |
--> docker host: 20.10.12 linux x86_64 | |
#1 [internal] load build definition from Dockerfile | |
#1 transferring dockerfile: 880B 0.0s done | |
#1 DONE 0.0s | |
#2 [internal] load .dockerignore | |
#2 transferring context: 100B 0.0s done | |
#2 DONE 0.0s | |
#3 [internal] load metadata for docker.io/library/node:16-alpine | |
#3 DONE 0.2s | |
#4 [1/6] FROM docker.io/library/node:16-alpine@sha256:6c381d5dc2a11dcdb693f0301e8587e43f440c90cdb8933eaaaabb905d44cdb9 | |
#4 resolve docker.io/library/node:16-alpine@sha256:6c381d5dc2a11dcdb693f0301e8587e43f440c90cdb8933eaaaabb905d44cdb9 done | |
#4 extracting sha256:31e352740f534f9ad170f75378a84fe453d6156e40700b882d737a8f4a6988a3 | |
#4 ... | |
#11 naming to registry.fly.io/scatter-api:deployment-01H5S540DSQPPCNFMVXDZQQ36F done | |
#11 DONE 2.8s | |
--> Building image done | |
==> Pushing image to fly | |
The push refers to repository [registry.fly.io/scatter-api] | |
8e7c7b618601: Preparing | |
df4adcedf7ba: Preparing | |
0ac3d600c772: Preparing | |
1636a61eabd0: Preparing | |
3bebd1e677aa: Preparing | |
7b71a9bb851a: Preparing | |
323c772d0cd8: Preparing | |
87820ee0191d: Preparing | |
78a822fe2a2d: Preparing | |
87820ee0191d: Waiting | |
78a822fe2a2d: Waiting | |
7b71a9bb851a: Waiting | |
323c772d0cd8: Waiting | |
Error: failed to fetch an image or build from source: error rendering push status stream: unauthorized: not allowed | |
Error: Process completed with exit code 1. | |
##[debug]Finishing: Deploy production |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment