This commit is contained in:
parent
3641db8ee1
commit
eadd9d1dec
1 changed files with 15 additions and 17 deletions
|
@ -13,23 +13,21 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- run: env
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
# - name: Set up Docker Buildx
|
||||
# uses: docker/setup-buildx-action@v2
|
||||
#
|
||||
# - name: Log in to Gitea Container Registry
|
||||
# uses: docker/login-action@v3
|
||||
# with:
|
||||
# password: ${{ secrets.PASSWORD }}
|
||||
# username: ${{ secrets.USERNAME }}
|
||||
# registry: git.thecodedom.com
|
||||
#
|
||||
# - name: Build and push Docker image
|
||||
# uses: docker/build-push-action@v6
|
||||
# with:
|
||||
# context: .
|
||||
# push: true
|
||||
# tags: git.thecodedom.com/dotechbro/dotechbro-website:latest
|
||||
- name: Log in to Gitea Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
password: ${{ secrets.GITEA_TOKEN }}
|
||||
username: ${{ github.repository_owner }}
|
||||
registry: git.thecodedom.com
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: git.thecodedom.com/smig/frontendmentor:latest
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue