Skip to content
This repository was archived by the owner on Aug 17, 2023. It is now read-only.

Commit dc4973f

Browse files
committed
add workflow for promoting to prod
Signed-off-by: Joshua Silverio <[email protected]>
1 parent 7da9f9f commit dc4973f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/prod-upgrade.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Update Prod
2+
3+
on:
4+
workflow_dispatch:
5+
jobs:
6+
copy-main-to-staging:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Login to GitHub Container Registry
10+
uses: docker/login-action@v2
11+
with:
12+
registry: ghcr.io
13+
username: ${{ github.actor }}
14+
password: ${{ secrets.GITHUB_TOKEN }}
15+
16+
- name: Setup crane
17+
uses: imjasonh/setup-crane@00c9e93efa4e1138c9a7a5c594acd6c75a2fbf0c
18+
19+
- name: Copy Main to Staging
20+
run: |
21+
crane tag ghcr.io/acorn-io/hub:stg prod

0 commit comments

Comments
 (0)