Skip to content

Development Deployment #210

Development Deployment

Development Deployment #210

name: Development Deployment
on:
workflow_dispatch:
env:
CR_REGISTRY_HOST: ${{ secrets.CR_REGISTRY_HOST }}
CR_REGISTRY: ${{ secrets.CR_REGISTRY }}
CR_REPOSITORY: journal
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Connect to docker registry
uses: yc-actions/[email protected]
with:
yc-sa-json-credentials: ${{ secrets.CR_REGISTRY_CREDENTIALS }}
- name: Build & Push
run: |
docker build -t $CR_REGISTRY_HOST/$CR_REGISTRY/dev/$CR_REPOSITORY:$GITHUB_SHA . --build-arg no_robots=true
docker push $CR_REGISTRY_HOST/$CR_REGISTRY/dev/$CR_REPOSITORY:$GITHUB_SHA