Skip to content

Commit

Permalink
first try create github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
taitov authored and Timur Aitov committed Jul 27, 2023
1 parent e3dead5 commit 6561155
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Docker Image

on:
push:
branches: ["main"]

jobs:
build-image-builder:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- name: Build image 'yanet/builder'
uses: docker/build-push-action@v4
with:
context: .
cache-from: type=gha
cache-to: type=gha,mode=max
run: |
cd docker
docker build -f yanet-builder.Dockerfile -t yanet/builder:unstable .
build-autotest:
needs: build-builder
runs-on: ubuntu-latest
container:
image: yanet/builder:unstable
steps:
- run: ls -l

0 comments on commit 6561155

Please sign in to comment.