Compare commits

...

6 Commits

Author SHA1 Message Date
Chris Richardson
15976fba07 asD
All checks were successful
Build And Test / publish (push) Successful in 2m5s
2025-05-12 18:54:18 -04:00
Chris Richardson
ea88d28ab6 asD
Some checks failed
Build And Test / publish (push) Failing after 1m36s
2025-05-12 18:38:53 -04:00
Chris Richardson
e2abcd15fa asD
Some checks failed
Build And Test / publish (push) Failing after 1m52s
2025-05-12 18:30:46 -04:00
Chris Richardson
9a6ac74d5c asD
Some checks failed
Build And Test / publish (push) Failing after 2m10s
2025-05-12 18:25:11 -04:00
Chris Richardson
e5e03b55f9 asD
All checks were successful
Build And Test / publish (push) Has been skipped
2025-05-12 18:22:39 -04:00
Chris Richardson
d9de6b84cc asD
Some checks failed
Build And Test / publish (push) Has been cancelled
2025-05-12 18:13:37 -04:00
2 changed files with 5 additions and 7 deletions

View File

@@ -1,5 +1,4 @@
name: Build And Test name: Build And Test
run-name: ${{ gitea.actor }} is runs ci pipeline
on: [ push ] on: [ push ]
jobs: jobs:
@@ -20,10 +19,9 @@ jobs:
publish: publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build if: gitea.ref == 'refs/heads/develop'
if: gitea.ref == 'refs/heads/main'
steps: steps:
- uses: https://github.com/actions/checkout@v4 - uses: actions/checkout@v4
# - name: Set up Docker Buildx # - name: Set up Docker Buildx
# uses: https://github.com/docker/setup-buildx-action@v3 # uses: https://github.com/docker/setup-buildx-action@v3
# with: # with:
@@ -32,10 +30,10 @@ jobs:
# http = true # http = true
# insecure = true # insecure = true
- name: Build and push Docker image - name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v5 uses: docker/build-push-action@v6
with: with:
context: . context: .
file: ./Dockerfile file: ./Dockerfile
push: true push: true
tags: "private-registry:5000/python-locust-example:${{gitea.sha}},private-registry:5000/python-locust-example:latest" tags: "d.lilpenguins.com/python-locust-example:${{gitea.sha}},d.lilpenguins.com/python-locust-example:latest"

View File

@@ -1,4 +1,4 @@
FROM docker.apple.com/piedss/locust-2:2.7.0.6 FROM locustio/locust:2.37.1
RUN mkdir -p /home/locust/tests/ RUN mkdir -p /home/locust/tests/
ADD test_example.py /home/locust/tests/ ADD test_example.py /home/locust/tests/