cicd: docker buildx broke
Some checks failed
Build and Push to Gitea / build-and-push (push) Failing after 4m56s
Some checks failed
Build and Push to Gitea / build-and-push (push) Failing after 4m56s
This commit is contained in:
parent
943db01f22
commit
0a44f70844
33
.github/workflows/deploy.yml
vendored
33
.github/workflows/deploy.yml
vendored
@ -24,28 +24,21 @@ jobs:
|
|||||||
RUN_LIVE_OPENAI_TESTS: "0"
|
RUN_LIVE_OPENAI_TESTS: "0"
|
||||||
run: go test ./...
|
run: go test ./...
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
|
|
||||||
- name: Login to Gitea Registry
|
- name: Login to Gitea Registry
|
||||||
uses: docker/login-action@v3
|
env:
|
||||||
with:
|
GIT_DOMAIN: ${{ secrets.GIT_DOMAIN }}
|
||||||
registry: ${{ secrets.GIT_DOMAIN }}
|
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
|
||||||
username: ${{ secrets.GIT_USERNAME }}
|
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
|
||||||
password: ${{ secrets.GIT_TOKEN }}
|
run: echo "$GIT_TOKEN" | docker login "$GIT_DOMAIN" -u "$GIT_USERNAME" --password-stdin
|
||||||
|
|
||||||
# Build and Push Go Backend
|
|
||||||
- name: Build and Push Backend
|
- name: Build and Push Backend
|
||||||
uses: docker/build-push-action@v5
|
env:
|
||||||
with:
|
GIT_DOMAIN: ${{ secrets.GIT_DOMAIN }}
|
||||||
context: .
|
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
|
||||||
push: true
|
run: docker build -t "$GIT_DOMAIN/$GIT_USERNAME/resumelens/backend:latest" . && docker push "$GIT_DOMAIN/$GIT_USERNAME/resumelens/backend:latest"
|
||||||
tags: ${{ secrets.GIT_DOMAIN }}/${{ secrets.GIT_USERNAME }}/resumelens/backend:latest
|
|
||||||
|
|
||||||
# Build and Push React Frontend
|
|
||||||
- name: Build and Push Frontend
|
- name: Build and Push Frontend
|
||||||
uses: docker/build-push-action@v5
|
env:
|
||||||
with:
|
GIT_DOMAIN: ${{ secrets.GIT_DOMAIN }}
|
||||||
context: ./web
|
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
|
||||||
push: true
|
run: docker build -t "$GIT_DOMAIN/$GIT_USERNAME/resumelens/frontend:latest" ./web && docker push "$GIT_DOMAIN/$GIT_USERNAME/resumelens/frontend:latest"
|
||||||
tags: ${{ secrets.GIT_DOMAIN }}/${{ secrets.GIT_USERNAME }}/resumelens/frontend:latest
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user