From b38c6f1bb9318dbf43656b0345aa8383a78d5f15 Mon Sep 17 00:00:00 2001 From: Yinda Xu Date: Thu, 28 Mar 2024 13:24:53 +0800 Subject: [PATCH] [xyd/cicd] add yaml for docker cicd --- .github/workflows/docker-image.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/docker-image.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..15f238f --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,18 @@ +name: DRLTT-SDK Docker Image CI + +on: + push: + branches: [ "main", "github-cicd-test" ] + pull_request: + branches: [ "main", "github-cicd-test" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build the DRLTT-SDK Docker image + run: docker image build --tag drltt-sdk:dev-$(date +%s) - < sdk/Dockerfile