This commit is contained in:
parent
9039d42885
commit
6fe4ff6de7
@ -15,7 +15,7 @@ jobs:
|
||||
|
||||
- name: Log in to Docker (optional, if using a registry)
|
||||
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
||||
if: env.DOCKER_REGISTRY # Only run if you push to a registry
|
||||
if: env.DOCKER_REGISTRY # Only run if you push to a registry
|
||||
|
||||
- name: Build Docker image
|
||||
run: docker build --no-cache -t flask-app:latest .
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user