chore: add deprecation banner #42
Workflow file for this run
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: CI (Docker Build) | |
on: [ push, pull_request ] | |
jobs: | |
build-image: | |
runs-on: ubuntu-latest | |
if: github.ref != 'refs/heads/main' | |
steps: | |
- name: Echo tag | |
id: echotag | |
run: | | |
echo "Building an image with the following tag based on commit:" | |
echo $GITHUB_SHA | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build Image Only | |
id: build | |
env: | |
ECR_REGISTRY: ci-run | |
ECR_REPOSITORY: etherpad | |
IMAGE_TAG: $GITHUB_SHA | |
run: docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$GITHUB_SHA . |