fix(cicd): sets gitea.workspace as docker build env
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 2s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 2s
This commit is contained in:
parent
da3ba338b8
commit
daf8e99c86
@ -11,7 +11,7 @@ jobs:
|
||||
steps:
|
||||
- name: Build the Docker Image
|
||||
run: |
|
||||
docker build -t sprout-db-migrations:latest .
|
||||
docker build -t sprout-db-migrations:latest -f ${{ gitea.workspace }}/Dockerfile ${{ gitea.workspace }}
|
||||
|
||||
- name: Login to Container Registry
|
||||
run: echo "${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin ${{ secrets.DOCKER_REGISTRY }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user