added login
Some checks failed
Build docker image / push (push) Failing after 2m34s

This commit is contained in:
Hendrik Behme 2024-08-08 02:10:33 +02:00
parent e30cde2a0b
commit 2664fc4a11

View File

@ -8,13 +8,18 @@ jobs:
if: gitea.ref == 'refs/heads/master' if: gitea.ref == 'refs/heads/master'
steps: steps:
- uses: https://github.com/actions/checkout@v4 - uses: https://github.com/actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: git.whimsoc.dev
username: ${{ github.repository_owner }}
password: ${{ secrets.GITEA_TOKEN }}
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3 uses: https://github.com/docker/setup-buildx-action@v3
with: with:
config-inline: | config-inline: |
[registry."git.whimsoc.dev"] [registry."git.whimsoc.dev"]
http = true https = true
insecure = true
- name: Build and push Docker image - name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v5 uses: https://github.com/docker/build-push-action@v5
with: with: