Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Try new build script
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Jun 21, 2024
1 parent 6da2313 commit a472704
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
name: CD
name: Build and deploy

on:
workflow_dispatch:
push:
branches:
- proof-of-concept

concurrency:
group: cd
group: cd-${{ github.ref }}

jobs:
build:
Expand All @@ -27,3 +25,21 @@ jobs:
latest: true
github-token: ${{ secrets.GITHUB_TOKEN }}
docker-image-name: ${{ vars.DOCKER_IMAGE_NAME }}

build2:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Create version tag
id: version-tag
uses: nationalarchives/ds-docker-actions/.github/actions/get-version-tag
- name: Build Docker image
uses: nationalarchives/ds-docker-actions/.github/actions/docker-build
with:
version: ${{ steps.version-tag.outputs.version-tag }}
latest: ${{ github.ref == 'refs/heads/main' }}
github-token: ${{ secrets.GITHUB_TOKEN }}
docker-image-name: ${{ vars.DOCKER_IMAGE_NAME }}

0 comments on commit a472704

Please sign in to comment.