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