From 9a5c4f99002e807b9d1efa8f53aa42455f826deb Mon Sep 17 00:00:00 2001 From: Tiger Kaovilai Date: Wed, 6 Nov 2024 22:47:34 -0500 Subject: [PATCH 1/2] Add docker image ci --- .github/workflows/build.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..5d5eeaf --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,13 @@ +name: Docker Image CI +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build the Docker image + run: docker build . -f deploy/Dockerfile --tag my-image-name:$(date +%s) From 4ba899f60f290835d3d7e3d16effb32ced6f0f74 Mon Sep 17 00:00:00 2001 From: Salah Al Saleh Date: Thu, 7 Nov 2024 10:46:17 -0800 Subject: [PATCH 2/2] Update .github/workflows/build.yaml --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5d5eeaf..03eb1f6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -10,4 +10,4 @@ jobs: steps: - uses: actions/checkout@v4 - name: Build the Docker image - run: docker build . -f deploy/Dockerfile --tag my-image-name:$(date +%s) + run: docker build . -f deploy/Dockerfile --tag replicated/local-volume-provider:$(date +%s)