Skip to content

Commit

Permalink
chore: bump github workflows versions
Browse files Browse the repository at this point in the history
  • Loading branch information
nepalevov committed Mar 19, 2024
1 parent c90ce43 commit e8c0fdb
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 23 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: PR Workflow

on:
pull_request:
branches: [development, release-*]

jobs:
run_tests:
uses: epam/ai-dial-ci/.github/workflows/generic_docker_pr.yml@1.8.0
secrets: inherit
14 changes: 0 additions & 14 deletions .github/workflows/pr_check_tests.yml

This file was deleted.

7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
name: Release version
name: Release Workflow

on:
push:
branches: [development, release-*]

env:
IMAGE_NAME: ${{ github.repository }}

jobs:
release:
uses: epam/ai-dial-ci/.github/workflows/publish_vanilla_docker.yml@1.3.1
uses: epam/ai-dial-ci/.github/workflows/generic_docker_release.yml@1.8.0
secrets: inherit
12 changes: 8 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
all: build
all: lint build

build:
docker build -t dial-chat-themes .
docker build -t dial-chat-themes .

run:
docker run -p 127.0.0.1:80:8080/tcp dial-chat-themes
docker run -p 127.0.0.1:8080:8080/tcp dial-chat-themes

lint:
docker run --rm -i hadolint/hadolint < Dockerfile

help:
@echo '===================='
@echo 'lint - lint the Dockerfile'
@echo 'build - build docker image'
@echo 'test - run docker image'
@echo 'run - run docker image'

0 comments on commit e8c0fdb

Please sign in to comment.