Update .forgejo/workflows/docker.yaml
This commit is contained in:
parent
24d2850fc6
commit
66234b7a66
1 changed files with 4 additions and 2 deletions
|
@ -4,6 +4,8 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
tags: ["v*.*.*"]
|
tags: ["v*.*.*"]
|
||||||
|
env:
|
||||||
|
REGISTRY: kitsunes.dev
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-docker:
|
publish-docker:
|
||||||
|
@ -14,6 +16,6 @@ jobs:
|
||||||
- name: Login to Docker
|
- name: Login to Docker
|
||||||
run: docker login -u ${{ env.GITHUB_ACTOR }} -p ${{ secrets.GITHUB_TOKEN }} ${{ env.REGISTRY }}
|
run: docker login -u ${{ env.GITHUB_ACTOR }} -p ${{ secrets.GITHUB_TOKEN }} ${{ env.REGISTRY }}
|
||||||
- name: build docker repository
|
- name: build docker repository
|
||||||
run: docker build . -t kitsunes.dev/${${{ github.repository }},,}:latest
|
run: docker build . -t ${{ env.REGISTRY }}/${${{ github.repository }},,}:latest
|
||||||
- name: Push to Repo Server
|
- name: Push to Repo Server
|
||||||
run: docker push kitsunes.dev/${${{ github.repository }},,}:latest
|
run: docker push ${{ env.REGISTRY }}/${${{ github.repository }},,}:latest
|
Loading…
Add table
Reference in a new issue