Skip to content

provide path to dockerfile #3

provide path to dockerfile

provide path to dockerfile #3

Workflow file for this run

name: CI
on:
push:
branches:
- gha
env:
DOCKER_URL: ${{ contains(github.ref, 'master') && 'todo' || 'uniappsakshopedev.azurecr.io' }}
DOCKER_REPOSITORY: hope-backend
jobs:
main:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Docker build
run: |
docker build \
-t ${{ env.DOCKER_URL }}/${{ env.DOCKER_REPOSITORY }}:${{ github.sha }} \
-f docker/Dockerfile \
.