Skip to content

Add files via upload #712

Add files via upload

Add files via upload #712

Workflow file for this run

name: Docker Image CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: whoan/docker-build-with-cache-action@master
with:
username: "${{ secrets.DOCKER_USERNAME }}"
password: "${{ secrets.DOCKER_PASSWORD }}"
dockerfile: Docker/Dockerfile
image_name: geog0111
push_git_tag: true
push_image_and_stages: true
- name: Run test
run: |
docker run --rm -d --name test_container -p 8888:8888 "${{ secrets.DOCKER_USERNAME }}"/geog0111
docker run --link test_container:test_container waisbrot/wait
curl --fail http://localhost:8888
# - name: Build the Docker image
# run: docker build . --file Dockerfile --tag geog:$(date +%s)