diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 00000000..acbebe82 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -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