Skip to content

Commit

Permalink
fix .github/workflows, no need for a docker proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverkurth committed Sep 12, 2024
1 parent d705a70 commit 8e5f46d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/photon-os-installer.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: photon-os-installer CI

on:
pull_request:
branches: [master]
on: [pull_request, push, workflow_dispatch]

jobs:
build:
Expand All @@ -16,7 +14,7 @@ jobs:
run: |
POI_IMAGE_NAME=photon/installer:${{ github.sha }}
cd docker
docker build -t $POI_IMAGE_NAME --build-arg DOCKER_PROXY=dockerhub.artifactory.eng.vmware.com/ --build-context poi-helper=$(realpath $(pwd)/..) .
docker build -t $POI_IMAGE_NAME --build-context poi-helper=$(realpath $(pwd)/..) .
docker system prune -f
test:
Expand All @@ -37,6 +35,9 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt # Ensure this file lists the necessary dependencies
- name: install pytest
run: pip install pytest

- name: Run Pytest
run: |
pytest -x tests/poi-container-test.py
Expand Down

0 comments on commit 8e5f46d

Please sign in to comment.