Skip to content

Promote staging to production #92

Promote staging to production

Promote staging to production #92

Workflow file for this run

name: Promote staging to production
on:
push:
tags:
- '**'
workflow_dispatch:
permissions:
contents: read
jobs:
promote-staging-to-production:
uses: IMIO/gha-workflows/.github/workflows/promote-staging-to-production.yml@v1
with:
image_name: ${{ vars.IMAGE_NAME }}
image_tag_staging: '${{ vars.IMAGE_TAG_STAGING }}'
image_tag_production: ${{ vars.IMAGE_TAG_PRODUCTION }}
rundeck_job_id: ${{ vars.RUNDECK_JOB_ID }}
runner_label: gha-runners-smartweb
quick_release: ${{ endsWith(github.ref_name, '-quick') }}
secrets:
mattermost_webhook_url: ${{ secrets.SMARTWEB_MATTERMOST_WEBHOOK_URL }}
registry_url: ${{ secrets.HARBOR_URL }}
registry_username: ${{ secrets.SMARTWEB_HARBOR_USERNAME }}
registry_password: ${{ secrets.SMARTWEB_HARBOR_PASSWORD }}
rundeck_url: ${{ secrets.RUNDECK_URL }}
rundeck_token: ${{ secrets.SMARTWEB_RUNDECK_TOKEN }}