diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..5c8b9f1 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,23 @@ +name: Docker Image CI +#????? +on: + push: + branches: [ test_actions ] + #pull_request: + #branches: [ main ] + +jobs: + + 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)