Skip to content

Commit

Permalink
Add GHA to build and publish to Quay
Browse files Browse the repository at this point in the history
This change adds a new GitHub Action that builds the resultant Docker
image and publishes this to the Quay repository.
  • Loading branch information
LiamMacP committed Oct 18, 2023
1 parent f8a21f4 commit d5aef09
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build-and-publish-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: build-and-publish-docker

on:
pull_request:
types: [ closed ]

jobs:
build:
uses: UKHomeOffice/sas-github-workflows/.github/workflows/publish-docker.yml@v2
if: |
github.event.pull_request.merged == true &&
github.base_ref == 'main'
with:
image: 'quay.io/ukhomeofficedigital/engineering-guidance-and-standards'
tag: ${{ github.sha }}
secrets: inherit

0 comments on commit d5aef09

Please sign in to comment.