Skip to content

Removing Solr delete from previous PR due to syntax problem #18

Removing Solr delete from previous PR due to syntax problem

Removing Solr delete from previous PR due to syntax problem #18

name: Docker Image CI Stable Branch
on:
push:
branches: [ '**-stable' ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get branch name
id: get_branch
run: echo "BRANCH_NAME=$(echo ${GITHUB_REF:11})" >> $GITHUB_ENV
- name: Build and push stable to Docker Hub
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: iublibtech/archives_online
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_AUTH_TOKEN }}
buildargs: SOURCE_COMMIT
tags: "stable,${{ env.BRANCH_NAME }}"
env:
SOURCE_COMMIT: ${{ github.sha }}