Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 34 additions & 6 deletions .github/workflows/build-solr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,42 @@ on:
required: false
description: 'Pause the selected step to debug using tmate'
type: choice
default: 'build'
default: ""
options:
- ""
- build

jobs:
build:
uses: notch8/actions/.github/workflows/build.yaml@v1.0.8
secrets: inherit
with:
platforms: "linux/amd64"
solrTarget: hyku-solr
runs-on: ubuntu-latest
steps:
- name: Set env
run: echo "TAG=${GITHUB_SHA::8}" >> $GITHUB_ENV
- name: Downcase repo
run: echo "REPO_LOWER=${REPO,,}" >> $GITHUB_ENV
env:
REPO: '${{ github.repository }}'
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: true
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Github Container Login
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: ./hyrax-webapp
platforms: linux/amd64,linux/arm64
target: hyku-solr
push: true
tags: |
ghcr.io/notch8/wvu_knapsack/solr:${{ env.TAG }}
ghcr.io/notch8/wvu_knapsack/solr:${{ github.ref_name }}
Loading