fix
Some checks failed
Build the portfolio website / build-portfolio-website (push) Successful in 46s
Build the portfolio website / build-and-release-image (push) Failing after 0s

This commit is contained in:
2025-05-17 21:53:15 +03:00
parent 9f95564022
commit cbca63c43f

View File

@ -36,13 +36,15 @@ jobs:
with:
fetch-depth: 0 # all history for all branches and tags
- name: Login to Image registry
image: quay.io/podman/stable
environment:
- name: Build and push Docker image
env:
REGISTRY: ${{ secrets.DOCKER_REGISTRY }}
USERNAME: ${{ secrets.DOCKER_USERNAME }}
PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
commands: |
with:
image: quay.io/podman/stable
options: --volumes-from=${{ env.JOB_CONTAINER_NAME }}
run: |
podman build -t "${REGISTRY}/my-portfolio:latest" .
podman login -u "${USERNAME}" -p "${PASSWORD}" "${REGISTRY}"
podman push "${REGISTRY}/my-portfolio:latest"