Removing Docker Login action in favor of command run.

This commit is contained in:
2025-05-26 07:55:13 -04:00
parent fcf3687b25
commit a5dea73c35
@@ -72,6 +72,9 @@ jobs:
- name: Fetch base branch - name: Fetch base branch
run: | run: |
git fetch origin ${{ github.event.pull_request.base.ref }} git fetch origin ${{ github.event.pull_request.base.ref }}
- name: Login to Gitea Container Registry
run: |
docker login -u gitea-sonarqube-bot -p ${{ secrets.BOT_GITEA_TOKEN }} http://gitea:3000
- name: Save both versions of docker-compose.yml - name: Save both versions of docker-compose.yml
run: | run: |
git show origin/main:docker-compose.yml > docker-compose-main.yml || touch docker-compose-main.yml git show origin/main:docker-compose.yml > docker-compose-main.yml || touch docker-compose-main.yml
@@ -313,11 +316,8 @@ jobs:
- name: Install Vault - name: Install Vault
uses: cpanato/vault-installer@main uses: cpanato/vault-installer@main
- name: Login to Gitea Container Registry - name: Login to Gitea Container Registry
uses: docker/login-action@v3 run: |
with: docker login -u gitea-sonarqube-bot -p ${{ secrets.BOT_GITEA_TOKEN }} http://gitea:3000
registry: https://git.trez.wtf
username: gitea-sonarqube-bot
password: ${{ secrets.BOT_GITEA_TOKEN }}
- name: Gotify Notification - name: Gotify Notification
uses: eikendev/gotify-action@master uses: eikendev/gotify-action@master
with: with: