Fixed issue with removing old validation code logic #2401
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
name: Github Packages Release | |
on: | |
push: | |
branches: | |
- master | |
- staging | |
tags: | |
- v* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v2 | |
- name: Extract branch/tag name | |
shell: bash | |
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})" | |
id: extract_branch | |
- name: Authorize composer | |
shell: bash | |
run: 'echo "$AUTHORIZATION" > auth.json' | |
env: | |
AUTHORIZATION: ${{ secrets.COMPOSER_AUTH }} | |
# make sure you have "Improved Container Support" enabled for both your personal and/or Organization accounts! | |
- uses: pmorelli92/github-container-registry-build-push@2.0.0 | |
name: Build and Publish latest service image | |
with: | |
# Read note below to see how to generate the PAT | |
github-push-secret: ${{secrets.GITHUB_TOKEN}} | |
docker-image-name: adapt | |
docker-image-tag: ${{ steps.extract_branch.outputs.branch }} |