maybe with 2 images?
Some checks failed
Build and Push to Forgejo Registry / checkout (push) Failing after 0s
Some checks failed
Build and Push to Forgejo Registry / checkout (push) Failing after 0s
This commit is contained in:
parent
3b2131d885
commit
b66969aa3a
1 changed files with 21 additions and 21 deletions
|
@ -8,24 +8,24 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
checkout:
|
checkout:
|
||||||
runs-on: docker-dind
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
# - name: Checkout code
|
- name: Checkout code
|
||||||
# uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Login to registry
|
# - name: Login to registry
|
||||||
env:
|
# env:
|
||||||
PATH: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin # Explicitly set PATH
|
# PATH: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin # Explicitly set PATH
|
||||||
|
# run: |
|
||||||
|
# which docker
|
||||||
|
# docker --version
|
||||||
|
# docker login git.k4li.de -u ${{ vars.FORGEJO_USERNAME }} -p ${{ secrets.FORGEJO_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Login to Forgejo Container Registry
|
||||||
run: |
|
run: |
|
||||||
which docker
|
echo "${{ secrets.FORGEJO_PASSWORD }}" | docker login git.k4li.de \
|
||||||
docker --version
|
-u "${{ vars.FORGEJO_USERNAME }}" \
|
||||||
docker login git.k4li.de -u ${{ vars.FORGEJO_USERNAME }} -p ${{ secrets.FORGEJO_PASSWORD }}
|
--password-stdin
|
||||||
|
|
||||||
# - name: Login to Forgejo Container Registry
|
|
||||||
# run: |
|
|
||||||
# echo "${{ secrets.FORGEJO_PASSWORD }}" | docker login git.k4li.de \
|
|
||||||
# -u "${{ vars.FORGEJO_USERNAME }}" \
|
|
||||||
# --password-stdin
|
|
||||||
|
|
||||||
- name: Running buildscript
|
- name: Running buildscript
|
||||||
run: |
|
run: |
|
||||||
|
@ -43,12 +43,12 @@ jobs:
|
||||||
# name: Set up Docker Buildx
|
# name: Set up Docker Buildx
|
||||||
# uses: docker/setup-buildx-action@v3
|
# uses: docker/setup-buildx-action@v3
|
||||||
#
|
#
|
||||||
-
|
# -
|
||||||
name: Build and push
|
# name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
# uses: docker/build-push-action@v6
|
||||||
with:
|
# with:
|
||||||
push: true
|
# push: true
|
||||||
tags: docker/caddy:latest
|
# tags: docker/caddy:latest
|
||||||
|
|
||||||
|
|
||||||
# name: ci
|
# name: ci
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue