ci: changes
This commit is contained in:
1 parent
28fb46b5bf
commit
e174200d96
1 file changed
+15
-10
@@ -23,21 +23,26 @@ jobs:
|
|||||||
VERSION=$(jq -r '.version' package.json)
|
VERSION=$(jq -r '.version' package.json)
|
||||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Log in to Gitea Container Registry
|
- name: Bei Gitea Container Registry anmelden
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: gitea:3000
|
registry: 127.0.0.1:3000
|
||||||
username: ${{ github.actor }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.GITEA_TOKEN }}
|
password: ${{ secrets.token }}
|
||||||
|
|
||||||
- name: Build and Push Docker Image
|
- name: Docker Image bauen (nur lokal im Runner)
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: false
|
||||||
tags: |
|
tags: |
|
||||||
gitea:3000/${{ github.repository }}:v${{ env.VERSION }}
|
127.0.0.1:3000/Schanbro/PsalmTafel:${{ gitea.ref_name }}
|
||||||
gitea:3000/${{ github.repository }}:latest
|
127.0.0.1:3000/Schanbro/PsalmTafel:latest
|
||||||
|
|
||||||
|
- name: Images zu Gitea pushen
|
||||||
|
run: |
|
||||||
|
docker push 127.0.0.1:3000/Schanbro/PsalmTafel:${{ gitea.ref_name }}
|
||||||
|
docker push 127.0.0.1:3000/Schanbro/PsalmTafel:latest
|
||||||
|
|
||||||
create-release:
|
create-release:
|
||||||
name: Create Gitea Release
|
name: Create Gitea Release
|
||||||
|
|||||||
Reference in new issue
Block a user