From ffcf63063e901b5e1a2f35eb653bd503d74a225e Mon Sep 17 00:00:00 2001 From: David Lechner Date: Sun, 30 Jun 2024 10:58:59 -0500 Subject: [PATCH] Create docker-image.yml --- .github/workflows/docker-image.yml | 26 ++++++++++++++++++++++++++ .travis.yml | 15 --------------- 2 files changed, 26 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/docker-image.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..c10a8ea --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,26 @@ +name: Docker Image CI + +on: + pull_request: + branches: [ "master" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build ev3dev-stretch + run: > + docker build + -t ev3dev/debian-stretch-cross + -f ev3dev-stretch/debian-stretch-cross.dockerfile + ev3dev-stretch + - name: Build ev3dev-buster + run: > + docker build + -t ev3dev/debian-buster-cross + -f ev3dev-buster/debian-buster-cross.dockerfile + ev3dev-buster diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9d1d2d8..0000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -language: bash -sudo: required -dist: xenial -services: docker -before_script: -- docker --version -script: -- docker build - -t ev3dev/debian-stretch-cross - -f ev3dev-stretch/debian-stretch-cross.dockerfile - ev3dev-stretch -- docker build - -t ev3dev/debian-buster-cross - -f ev3dev-buster/debian-buster-cross.dockerfile - ev3dev-buster