fix
This commit is contained in:
@ -36,13 +36,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0 # all history for all branches and tags
|
fetch-depth: 0 # all history for all branches and tags
|
||||||
|
|
||||||
- name: Login to Image registry
|
- name: Build and push Docker image
|
||||||
image: quay.io/podman/stable
|
env:
|
||||||
environment:
|
|
||||||
REGISTRY: ${{ secrets.DOCKER_REGISTRY }}
|
REGISTRY: ${{ secrets.DOCKER_REGISTRY }}
|
||||||
USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||||
PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
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 build -t "${REGISTRY}/my-portfolio:latest" .
|
||||||
podman login -u "${USERNAME}" -p "${PASSWORD}" "${REGISTRY}"
|
podman login -u "${USERNAME}" -p "${PASSWORD}" "${REGISTRY}"
|
||||||
podman push "${REGISTRY}/my-portfolio:latest"
|
podman push "${REGISTRY}/my-portfolio:latest"
|
||||||
|
|||||||
Reference in New Issue
Block a user