Remove blank line to test workflow trigger #5
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
# Solr Image | |
# ========== | |
# | |
# This workflow builds and registers an image of the Solr search engine customized for | |
# the Planetary Data System's portal. | |
--- | |
name: π Solr Image | |
# Triggers | |
# -------- | |
# | |
# Run on any push to the Solr subdirectory, or via another workflow via the | |
# `workflow_dispatch` trigger. | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'solr/**' | |
workflow_dispatch: | |
# Jobs | |
# ---- | |
# | |
# What to do. | |
jobs: | |
solr-image: | |
name: π Solr Image | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: π Repository Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
token: ${{secrets.WEB_STRATEGY_TEAM_PAT}} | |
fetch-depth: 0 | |
- | |
name: ποΈ AWS Identification | |
uses: aws-actions/configure-aws-credentials@v3 | |
with: | |
aws-access-key-id: ${{secrets.AWS_ACCESS_KEY_ID}} | |
aws-secret-access-key: ${{secrets.AWS_SECRET_ACCESS_KEY}} | |
aws-region: us-west-2 | |
- | |
name: πͺͺ ECR Identification | |
uses: docker/login-action@v2 | |
with: | |
registry: ${{secrets.AWS_ACCOUNT_ID}}.dkr.ecr.us-west-2.amazonaws.com | |
- | |
name: π° QEMU Multiple Machine Emulation | |
uses: docker/setup-qemu-action@v2 | |
- | |
name: π’ Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- | |
name: 𧱠Image Construction and Publication | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
file: solr/Dockerfile | |
platforms: linux/amd64,linux/arm64 | |
push: true | |
tags: ${{secrets.AWS_ACCOUNT_ID}}.dkr.ecr.us-west-2.amazonaws.com/solr-portal:latest | |
... | |
# -*- mode: YAML; tab-width: 4 -*- |