second attempt to fix the docker build workflow
Some checks failed
Build the portfolio website / build-portfolio-website (push) Failing after 1m16s
Some checks failed
Build the portfolio website / build-portfolio-website (push) Failing after 1m16s
This commit is contained in:
@ -26,16 +26,11 @@ jobs:
|
|||||||
- name: Build the project
|
- name: Build the project
|
||||||
run: cd frontend && npm run build
|
run: cd frontend && npm run build
|
||||||
|
|
||||||
build-and-push-docker-image:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: build-portfolio-website
|
|
||||||
if: success()
|
|
||||||
steps:
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
driver: docker-container
|
config-inline: |
|
||||||
install: true
|
[${{ secrets.DOCKER_REGISTRY }}]
|
||||||
|
|
||||||
- name: Login to Docker registry
|
- name: Login to Docker registry
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user