登录到远程仓库改为命令
Some checks failed
Docker Build / Build and push docker image (push) Failing after 29s

This commit is contained in:
xiaohei 2025-02-15 14:08:08 +08:00
parent 950d524a9f
commit 4b8c251f5c

View File

@ -30,11 +30,7 @@ jobs:
run: podman build -t ${{ IMAGE_REGISTRY }}:${{ IMAGE_TAGS }} .
- name: login to registry
uses: redhat-actions/podman-login@v1
with:
registry: ${{ env.IMAGE_REGISTRY }}
username: ${{ env.REGISTRY_USER }}
password: ${{ env.REGISTRY_PASSWORD }}
run: podman login ${{ IMAGE_REGISTRY }} -u ${{ REGISTRY_USER }} -p ${{ REGISTRY_PASSWORD }}
- name: push to registry
uses: redhat-actions/push-to-registry@v2