diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 1bee75a5..9cf2b232 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -1,18 +1,16 @@ name: Docker Image CI on: - push: - branches: [ "main" ] - pull_request: - branches: [ "*" ] + push: + branches: ['main'] + pull_request: + branches: ['*'] jobs: + build-docker: + runs-on: ubuntu-latest - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - name: Build the Docker image - run: docker build . --file Dockerfile --tag my-image-name:$(date +%s) + steps: + - uses: actions/checkout@v4 + - name: Build the Docker image + run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)