dev/action #1
@@ -22,11 +22,16 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: "check is REGISTRY_TOKEN exists"
|
||||
env:
|
||||
super_secret: ${{ secrets.REGISTRY_TOKEN }}
|
||||
if: ${{ env.super_secret == '' }}
|
||||
run: 'echo "echo the secret \"REGISTRY_TOKEN\" has not been made; echo please go to \"settings \> secrets \> actions\" to create it"
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.letsstein.de
|
||||
username: ${{ gitea.actor }}
|
||||
username: jenkins
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Extract metadata (tags, labels) for Docker
|
||||
|
||||
Reference in New Issue
Block a user