Skip to content

Deploy bring-your-own-image-tag to integration #13

Deploy bring-your-own-image-tag to integration

Deploy bring-your-own-image-tag to integration #13

Workflow file for this run

name: Deploy
run-name: Deploy ${{ inputs.gitRef || github.ref_name }} to integration
on:
workflow_dispatch:
inputs:
gitRef:
description: 'Commit, tag or branch name to deploy'
required: true
type: string
release:
types: [released]
jobs:
build-and-publish-image:
if: github.event_name == 'workflow_dispatch' || startsWith(github.ref_name, 'v')
name: Build and publish image
uses: alphagov/govuk-infrastructure/.github/workflows/build-and-push-image.yml@additional-image-tag-or-tags
with:
gitRef: ${{ inputs.gitRef || github.ref_name }}
additionalImageTags: this-is-my-tag and-here_s-another-1
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_GOVUK_ECR_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_GOVUK_ECR_SECRET_ACCESS_KEY }}