Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/promote-to-stable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Promote Image to Stable

on:
workflow_dispatch:
inputs:
version:
description: "Image tag to promote to stable"
required: true
push:
branches:
- bootstrapper-issue-364

jobs:
promote:
runs-on: ubuntu-latest

steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USER }}
password: ${{ secrets.GHCR_PAT }}

- name: Pull and retag image
run: |
IMAGE_NAME=ghcr.io/${{ github.repository_owner }}/ziti-browzer-bootstrapper
VERSION=${{ github.event.inputs.version }}

# Pull the existing image
docker pull $IMAGE_NAME:$VERSION

# Retag it as "stable"
docker tag $IMAGE_NAME:$VERSION $IMAGE_NAME:stable

# Push the new stable tag
docker push $IMAGE_NAME:stable
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ziti-browzer-bootstrapper",
"version": "0.83.0",
"version": "0.84.0",
"compatibleControllerVersion": ">=0.27.9",
"description": "Ziti BrowZer Bootstrapper -- providing Ziti network access into Dark web server",
"main": "index.js",
Expand Down
Loading