Remove ssh agent from cicd
Some checks failed
Build and Push to Registry / build-and-push (push) Failing after 14s

This commit is contained in:
sosthene 2025-07-09 12:43:39 +00:00
parent 5b530f0877
commit 6bf4fdb231

View File

@ -15,11 +15,6 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up SSH agent
uses: webfactory/ssh-agent@v0.9.1
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
@ -36,8 +31,6 @@ jobs:
context: . context: .
push: true push: true
ssh: default ssh: default
build-args: |
ENV_VARS=${{ secrets.ENV_VARS }}
tags: | tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.sha }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.sha }}