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

Commit

Permalink
add workflow for promoting to prod
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Silverio <[email protected]>
  • Loading branch information
jsilverio22 committed Mar 8, 2023
1 parent 7da9f9f commit 484bbab
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/prod-upgrade.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Update Production

on:
workflow_dispatch:

jobs:
copy-stg-to-prod:
runs-on: ubuntu-latest
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Setup crane
uses: imjasonh/setup-crane@00c9e93efa4e1138c9a7a5c594acd6c75a2fbf0c

- name: Copy Staging to Production
run: |
crane tag ghcr.io/acorn-io/hub:stg prod

0 comments on commit 484bbab

Please sign in to comment.