From d6b78fd2e0d3aba6bb6fa90f77cc2e902618731d Mon Sep 17 00:00:00 2001 From: jimlaoshi <45981590+jimlaoshi@users.noreply.github.com> Date: Wed, 9 Dec 2020 15:34:42 +0200 Subject: [PATCH 1/4] Create docker-image.yml --- .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..8843716 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,18 @@ +name: Docker Image CI + +on: + push: + branches: [ main, test_actions ] + pull_request: + branches: [ main ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Build the Docker image + run: docker build ./apps/redis/ --file ./apps/redis/Dockerfile --tag redis-x86:$(date +%s) From 4776b85b03e909130699f0291b0be64b5fb53aae Mon Sep 17 00:00:00 2001 From: jimlaoshi <45981590+jimlaoshi@users.noreply.github.com> Date: Wed, 9 Dec 2020 15:59:43 +0200 Subject: [PATCH 2/4] Update docker-image.yml --- .github/workflows/docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 8843716..86ded97 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -1,5 +1,5 @@ name: Docker Image CI - +#????? on: push: branches: [ main, test_actions ] From fe87e8a31060209aae5e01f5d087364c266ea4d4 Mon Sep 17 00:00:00 2001 From: jimlaoshi <45981590+jimlaoshi@users.noreply.github.com> Date: Wed, 9 Dec 2020 16:12:56 +0200 Subject: [PATCH 3/4] Update docker-image.yml --- .github/workflows/docker-image.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 86ded97..5ebc6d4 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -2,9 +2,9 @@ name: Docker Image CI #????? on: push: - branches: [ main, test_actions ] - pull_request: - branches: [ main ] + branches: [ test_actions ] + #pull_request: + #branches: [ main ] jobs: From 91788d2d4bc28787b48347c463c11fb5be02bfc0 Mon Sep 17 00:00:00 2001 From: Anastassios Nanos Date: Sat, 19 Dec 2020 17:01:01 +0000 Subject: [PATCH 4/4] Update docker-image.yml --- .github/workflows/docker-image.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 5ebc6d4..5c8b9f1 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -8,11 +8,16 @@ on: jobs: - build: - - runs-on: ubuntu-latest - + build-redis: + runs-on: x86_64 steps: - uses: actions/checkout@v2 - name: Build the Docker image run: docker build ./apps/redis/ --file ./apps/redis/Dockerfile --tag redis-x86:$(date +%s) + + build-nginx: + runs-on: x86_64 + steps: + - uses: actions/checkout@v2 + - name: Build the Docker image + run: docker build ./apps/nginx/ --file ./apps/nginx/Dockerfile --tag nginx-x86:$(date +%s)