Skip to content

Commit

Permalink
chore: github action push to local container registry
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobdotcosta committed Sep 2, 2023
1 parent 392eb67 commit dd8f082
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,24 @@ jobs:
image: trikorasolns_glpi_cron
containerfiles: |
src/main/cron/Dockerfile
- name: Add
run: |
cat > /etc/containers/registries.conf.d/localhost.conf <<EOF
[[registry]]
location = "localhost:5000"
insecure = true

EOF
- name: Push to local registry
id: push-to-quay
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-init-image.outputs.image }}
tags: ${{ steps.build-init-image.outputs.tags }}
registry: localhost:5000/glpi-container
# registry: localhost:5000/name/app:latest
# username: quay-user
# password: ${{ secrets.REGISTRY_PASSWORD }}

# # registry: localhost:5000/name/app:latest
# # username: quay-user
# # password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
- name: Install dependencies
Expand Down

0 comments on commit dd8f082

Please sign in to comment.