This commit is contained in:
parent
8c06947ebe
commit
be272c4fd3
1 changed files with 6 additions and 4 deletions
|
@ -14,10 +14,14 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to Gitea Container Registry
|
||||
run: echo "${{ secrets.GITEA_PASSWORD }}" | docker login ${{ secrets.GITEA_REGISTRY }} -u ${{ secrets.GITEA_USERNAME }} --password-stdin
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
password: ${{ secrets.GITEA_PASSWORD }}
|
||||
username: ${{ secrets.GITEA_USERNAME }}
|
||||
registry: ${{ secrets.GITEA_REGISTRY }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v2
|
||||
|
@ -26,5 +30,3 @@ jobs:
|
|||
push: true
|
||||
tags: ${{ secrets.GITEA_REGISTRY }}/smig/dotechbro-website:latest
|
||||
|
||||
- name: Log out from Gitea Container Registry
|
||||
run: docker logout ${{ secrets.GITEA_REGISTRY }}
|
||||
|
|
Loading…
Reference in a new issue