Skip to content

Add validation notification settings before copyParameter #11

Add validation notification settings before copyParameter

Add validation notification settings before copyParameter #11

Workflow file for this run

name: Build and Push admin docker image
on:
push:
branches:
- master
paths:
- "admin/**"
- ".github/workflows/admin-*.yml"
jobs:
build-and-push-admin:
runs-on: ubuntu-latest
concurrency:
group: admin-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set short git commit SHA
id: vars
run: |
calculatedSha=$(git rev-parse --short ${{ github.sha }})
echo "COMMIT_SHORT_SHA=$calculatedSha" >> $GITHUB_ENV
echo "REPO=${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV
- name: Build Docker image
run: |
cd admin && docker build -t ghcr.io/$REPO-admin:$COMMIT_SHORT_SHA .
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.TOKEN }}
- name: Push Docker image
run: |
docker push ghcr.io/$REPO-admin:$COMMIT_SHORT_SHA