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: go test ./...
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Gitea Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ secrets.GIT_DOMAIN }}
|
||||
username: ${{ secrets.GIT_USERNAME }}
|
||||
password: ${{ secrets.GIT_TOKEN }}
|
||||
env:
|
||||
GIT_DOMAIN: ${{ secrets.GIT_DOMAIN }}
|
||||
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
|
||||
GIT_TOKEN: ${{ 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
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: ${{ secrets.GIT_DOMAIN }}/${{ secrets.GIT_USERNAME }}/resumelens/backend:latest
|
||||
env:
|
||||
GIT_DOMAIN: ${{ secrets.GIT_DOMAIN }}
|
||||
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
|
||||
run: docker build -t "$GIT_DOMAIN/$GIT_USERNAME/resumelens/backend:latest" . && docker push "$GIT_DOMAIN/$GIT_USERNAME/resumelens/backend:latest"
|
||||
|
||||
# Build and Push React Frontend
|
||||
- name: Build and Push Frontend
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./web
|
||||
push: true
|
||||
tags: ${{ secrets.GIT_DOMAIN }}/${{ secrets.GIT_USERNAME }}/resumelens/frontend:latest
|
||||
env:
|
||||
GIT_DOMAIN: ${{ secrets.GIT_DOMAIN }}
|
||||
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
|
||||
run: docker build -t "$GIT_DOMAIN/$GIT_USERNAME/resumelens/frontend:latest" ./web && docker push "$GIT_DOMAIN/$GIT_USERNAME/resumelens/frontend:latest"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user