Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd2571c09d | ||
|
|
30d0485da3 | ||
|
|
3232abab68 | ||
|
|
6add9f7cad | ||
|
|
e8ca15df06 | ||
|
|
1061864cae | ||
|
|
26449dd5c9 | ||
|
|
72e822950b | ||
|
|
d3396a4c9b | ||
|
|
1269b35dbd | ||
|
|
0163625507 |
@@ -1,9 +1,9 @@
|
|||||||
name: Build and Push Docker Image
|
name: Build and Push Docker Image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*' # Trigger on any Git tag
|
- '*' # Trigger on any git tag
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
@@ -18,16 +18,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Log in to Docker registry
|
- name: Log in to Docker registry
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
env:
|
||||||
registry: ${{ env.GITEA_REGISTRY }}
|
registry: https://gitea.papryk.com
|
||||||
username: ${{ secrets.GITEA_REGISTRY_USERNAME }}
|
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
password: ${{ secrets.GITEA_REGISTRY_PASSWORD }}
|
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: "https://gitea.papryk.com/Papryk/dj-spangebob:${{ gitea.ref_name }}"
|
||||||
${{ env.GITEA_REGISTRY }}/${{ github.repository_owner }}/${{ github.repo }}:${{ github.ref_name }}
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user