mirror of
https://github.com/replicatedhq/ttl.sh.git
synced 2026-05-21 07:42:45 +00:00
feat: migrate from Heroku to Google Cloud Platform
This commit is contained in:
57
.github/workflows/main.yaml
vendored
57
.github/workflows/main.yaml
vendored
@@ -1,57 +0,0 @@
|
||||
name: Deploy to Heroku
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
HEROKU_API_KEY: ${{secrets.HEROKU_API_KEY}}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: install heroku cli
|
||||
run: curl https://cli-assets.heroku.com/install-ubuntu.sh | sh
|
||||
|
||||
- name: heroku registry login
|
||||
run: heroku container:login
|
||||
|
||||
- name: build registry
|
||||
run: docker build -t registry.heroku.com/ttlsh/web registry
|
||||
|
||||
- name: push registry
|
||||
run: docker push registry.heroku.com/ttlsh/web
|
||||
|
||||
- name: release registry
|
||||
run: heroku container:release -a ttlsh web
|
||||
|
||||
- name: build nginx
|
||||
run: docker build -t registry.heroku.com/ttlsh-router/web nginx
|
||||
|
||||
- name: push nginx
|
||||
run: docker push registry.heroku.com/ttlsh-router/web
|
||||
|
||||
- name: release nginx
|
||||
run: heroku container:release -a ttlsh-router web
|
||||
|
||||
- name: build hooks
|
||||
run: docker build -f hooks/Dockerfile.hooks -t registry.heroku.com/ttlsh-hooks/web hooks
|
||||
|
||||
- name: push hooks
|
||||
run: docker push registry.heroku.com/ttlsh-hooks/web
|
||||
|
||||
- name: release hooks
|
||||
run: heroku container:release -a ttlsh-hooks web
|
||||
|
||||
- name: build reaper
|
||||
run: docker build -f hooks/Dockerfile.reap -t registry.heroku.com/ttlsh-hooks/reap hooks
|
||||
|
||||
- name: push reaper
|
||||
run: docker push registry.heroku.com/ttlsh-hooks/reap
|
||||
|
||||
- name: release reaper
|
||||
run: heroku container:release -a ttlsh-hooks reap
|
||||
Reference in New Issue
Block a user