Skip to content

first try create github ci #3

first try create github ci

first try create github ci #3

Workflow file for this run

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