From 516c70d112ab37673381d1c3be3bf94839941efa Mon Sep 17 00:00:00 2001 From: jansel Date: Sat, 14 Jun 2025 12:56:23 +0200 Subject: [PATCH] Update readme.md --- readme.md | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/readme.md b/readme.md index 43a96cb..97e7be2 100644 --- a/readme.md +++ b/readme.md @@ -4,19 +4,6 @@ When using the Actions on this Gitea Server, please make sure to follow the impo All codeblocks here are examples. -When working with the Container Registry (f.ex. for docker images) do not use the docker/buildx-action directly after the login to the registry, instead do it like this (the registry url is a must have!): -```yml - - name: Login to Gitea Registry - uses: docker/login-action@v3 +## Actions - with: - registry: pi5:8125 - username: ${{ github.repository_owner }} - password: ${{ secrets.PW }} # add a repository Secret called PW for this, or change PW to any name you like - - - name: Build the Docker image - run: docker build -t pi5:8125/ . # f.ex. the image tag to push is pi5:8125/jansel/example, then when pushed successfully you can pull it normally with 'docker pull git.jansel.dev/jansel/example:latest' - - - name: Push the Docker image - run: docker push pi5:8125/ # same image tag stuff applies here -``` \ No newline at end of file +Actions should use the Github Variant, so when you declare an action with `uses` then use the full action url (like `https://github.com/actions/checkout@v4`) \ No newline at end of file