Update docker-image.yml with two steps
This commit is contained in:
5
.github/workflows/docker-image.yml
vendored
5
.github/workflows/docker-image.yml
vendored
@@ -10,6 +10,7 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Checkout before build
|
||||
uses: actions/checkout@v3
|
||||
- name: Build the Docker image
|
||||
- run: docker build . --file Dockerfile --tag cook:$(date +%s)
|
||||
run: docker build . --file Dockerfile --tag cook:$(date +%s)
|
||||
|
||||
Reference in New Issue
Block a user