This commit is contained in:
parent
81621cb063
commit
a52365a421
@ -8,12 +8,15 @@ jobs:
|
|||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Print secret and var
|
||||||
|
run: |
|
||||||
|
echo "Username var: ${{ vars.REPO_USERNAME }}"
|
||||||
- name: Login to container registry
|
- name: Login to container registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.anatid.net
|
registry: git.anatid.net
|
||||||
username: ${{ vars.GITEA_USERNAME }}
|
username: ${{ vars.REPO_USERNAME }}
|
||||||
password: ${{ secrets.GITEA_PASSWORD }}
|
password: ${{ secrets.REPO_PASSWORD }}
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Build backend
|
- name: Build backend
|
||||||
@ -22,11 +25,11 @@ jobs:
|
|||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: tabris/anatid-blog-backend:latest
|
tags: git.anatid.net/tabris/anatid-blog-backend:latest
|
||||||
- name: Build frontend
|
- name: Build frontend
|
||||||
run: CD ../frontend
|
run: CD ../frontend
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: tabris/anatid-blog-frontend:latest
|
tags: git.anatid.net/tabris/anatid-blog-frontend:latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user