LafayetteCollegeLibraries/spot

View on GitHub
.github/workflows/build-release.yml

Summary

Maintainability
Test Coverage
name: Build release containers
on:
  release:
    types:
      - released

permissions:
  checks: write

jobs:
  lint_and_test:
    name: Lint + Test
    uses: ./.github/workflows/lint-and-test.yml

  publish_release_containers:
    name: Build and push release containers
    uses: ./.github/workflows/build-containers.yml
    needs: [lint_and_test]
    secrets:
      registry: ${{ secrets.CONTAINER_REGISTRY }}
      username: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
      password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
    with:
      tag: ${{ github.event.release.tag_name }}
      environments: '["stage", "production"]'
      services: '["rails","sidekiq","fcrepo","solr","fits_servlet"]'