This repository has been archived by the owner on Jan 21, 2025. It is now read-only.
Merge pull request #1320 from alphagov/disable-retry-package-import-w… #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and push images on tags | |
on: | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
jobs: | |
build_and_push: | |
name: datagovuk_publish | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
steps: | |
- name: Login to GHCR | |
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ inputs.gitRef }} | |
- name: Build and push images | |
env: | |
APP: datagovuk_publish | |
ARCH: amd64 | |
GH_REF: ${{ github.ref_name }} | |
run: ./docker/build-image.sh |