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 e83741a
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: docker
dockerfile: yanet-builder.Dockerfile
tags: yanet/builder:unstable
push: false
cache-from: type=gha
cache-to: type=gha,mode=max
build-autotest:
needs: build-builder
runs-on: ubuntu-latest
container:
image: yanet/builder:unstable
steps:
- run: ls -l

0 comments on commit e83741a

Please sign in to comment.