Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
058125f0b1 | ||
|
|
672edccd70 | ||
|
|
44b730dbfc | ||
|
|
3b3e82f16a | ||
|
|
e3f01da175 | ||
|
|
3cb09b34da | ||
|
|
df7340e578 | ||
|
|
57f58b0c9a | ||
|
|
189f81d95b | ||
|
|
1a9ea98202 | ||
|
|
b834ff10bf | ||
|
|
7804dd5993 | ||
|
|
56ccc83903 | ||
|
|
1629715732 | ||
|
|
d3a835e3fb | ||
|
|
145e55df92 | ||
|
|
533567b31d | ||
|
|
b438956e96 | ||
|
|
90cb797d2e |
@@ -36,7 +36,7 @@ jobs:
|
|||||||
- name: Login to gitea
|
- name: Login to gitea
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: gitea.geeraert.eu
|
registry: gitea.tryton.geeraert.eu
|
||||||
username: ${{ secrets.USERNAME_GITEA }}
|
username: ${{ secrets.USERNAME_GITEA }}
|
||||||
password: ${{ secrets.PASSWORD_GITEA }}
|
password: ${{ secrets.PASSWORD_GITEA }}
|
||||||
|
|
||||||
@@ -44,23 +44,23 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker build \
|
docker build \
|
||||||
-f infra/testing/dockerfile \
|
-f infra/testing/dockerfile \
|
||||||
--build-arg ALLOWED_HOSTS='django-testing.geeraert.eu' \
|
--build-arg ALLOWED_HOSTS='django-testing.tryton.geeraert.eu' \
|
||||||
--build-arg DEBUG='True' \
|
--build-arg DEBUG='True' \
|
||||||
--build-arg CACHE_BUST=${{ env.next_version }} \
|
--build-arg CACHE_BUST=${{ env.next_version }} \
|
||||||
-t gitea.geeraert.eu/pi-ux-ce/django-testing:latest \
|
-t gitea.tryton.geeraert.eu/pi-ux-ce/django-testing:latest \
|
||||||
-t gitea.geeraert.eu/pi-ux-ce/django-testing:${{ env.next_version }} \
|
-t gitea.tryton.geeraert.eu/pi-ux-ce/django-testing:${{ env.next_version }} \
|
||||||
.
|
.
|
||||||
|
|
||||||
- name: Push image
|
- name: Push image
|
||||||
run: |
|
run: |
|
||||||
docker push gitea.geeraert.eu/pi-ux-ce/django-testing:latest
|
docker push gitea.tryton.geeraert.eu/pi-ux-ce/django-testing:latest
|
||||||
docker push gitea.geeraert.eu/pi-ux-ce/django-testing:${{ env.next_version }}
|
docker push gitea.tryton.geeraert.eu/pi-ux-ce/django-testing:${{ env.next_version }}
|
||||||
|
|
||||||
- name: update version in the variable
|
- name: update version in the variable
|
||||||
run: |
|
run: |
|
||||||
curl -X PUT -H "Content-Type: application/json" \
|
curl -X PUT -H "Content-Type: application/json" \
|
||||||
--user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} \
|
--user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} \
|
||||||
https://gitea.geeraert.eu/api/v1/repos/pi-ux-ce/${{ github.event.repository.name }}/actions/variables/VERSION_TESTING \
|
https://gitea.tryton.geeraert.eu/api/v1/repos/pi-ux-ce/${{ github.event.repository.name }}/actions/variables/VERSION_TESTING \
|
||||||
-d "{\"Value\":\"$next_version\"}"
|
-d "{\"Value\":\"$next_version\"}"
|
||||||
|
|
||||||
- name: Rollout Django to force pulling the new image
|
- name: Rollout Django to force pulling the new image
|
||||||
|
|||||||
Reference in New Issue
Block a user