changement de workflow: debug
Some checks failed
Build and Push Docker Image / build (push) Failing after 27s
Some checks failed
Build and Push Docker Image / build (push) Failing after 27s
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
name: Build and Push Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@@ -11,6 +12,13 @@ jobs:
|
||||
container:
|
||||
image: alpine:latest
|
||||
steps:
|
||||
- name: Set up and Install Dependencies
|
||||
run: |
|
||||
apk update && apk add --no-cache mariadb-connector-c-dev gcc musl-dev nodejs npm git docker libffi-dev libffi
|
||||
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Increment version
|
||||
id: increment_version
|
||||
run: |
|
||||
@@ -50,27 +58,23 @@ jobs:
|
||||
|
||||
# Push les modifications
|
||||
git push origin main
|
||||
- name: Set up and Install Dependencies
|
||||
run: |
|
||||
apk update && apk add --no-cache mariadb-connector-c-dev && apk add --no-cache gcc musl-dev nodejs npm git docker libffi-dev libffi
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Use server_config_default as primary
|
||||
run : mv /workspace/CLERC/Reskreen/config/server_config_default.py /workspace/CLERC/Reskreen/config/server_config.py
|
||||
run: mv /workspace/CLERC/Reskreen/config/server_config_default.py /workspace/CLERC/Reskreen/config/server_config.py
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: cat requirement
|
||||
run: cat requirements.txt
|
||||
|
||||
- name: Log in to Docker Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: gitea.prod.resk-u.ch
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Build and Push Docker image
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: gitea.prod.resk-u.ch/clerc/reskreen:latest
|
||||
|
||||
|
Reference in New Issue
Block a user