Skip to content

Update Dockerfile

Update Dockerfile #18

Workflow file for this run

name: Build Docker Image and Push to Evolution Artifact Registry
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CR_URI: ${{secrets.CR_URI}}
BOT_TOKEN: ${{secrets.BOT_TOKEN}}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout to the branch
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to Evolution Artifact Registry
uses: docker/login-action@v1
with:
registry: ${{ env.CR_URI }}
username: ${{ secrets.EVO_CR_LOGIN }}
password: ${{ secrets.EVO_CR_PWD }}
- name: NodeJS - Build and push docker image to Evolution Aritfact Registry
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ env.CR_URI }}/dating_clikpik_tg:${{ github.sha }}
file: ./Dockerfile
context: ./