fix workflow following gitea workflow in github
Some checks failed
Build the portfolio website / build-portfolio-website (push) Successful in 47s
Build the portfolio website / build-and-push-docker-image (push) Has been cancelled

This commit is contained in:
2025-05-17 15:26:24 +03:00
parent 6d76e17613
commit 940435cc8a

View File

@ -31,14 +31,16 @@ jobs:
needs: build-portfolio-website needs: build-portfolio-website
if: success() if: success()
steps: steps:
- name: Set up Docker Buildx - name: Checkout
uses: docker/setup-buildx-action@v2 uses: actions/checkout@v4
with: with:
driver: docker-container fetch-depth: 0 # all history for all branches and tags
install: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker registry - name: Login to Docker registry
uses: docker/login-action@v2 uses: docker/login-action@v3
with: with:
registry: ${{ secrets.DOCKER_REGISTRY }} registry: ${{ secrets.DOCKER_REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}