Skip to content

Fixed issue with removing old validation code logic #2400

Fixed issue with removing old validation code logic

Fixed issue with removing old validation code logic #2400

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 }}