diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index c9c0ec7..3b2358c 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -15,8 +15,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub uses: docker/login-action@v3 with: @@ -24,11 +22,7 @@ jobs: username: ${{ gitea.actor }} password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push - uses: docker/build-push-action@v5 - with: - context: . - push: true - tags: | - Mathis/namesny-com:latest - Mathis/namesny-com:${{ gitea.sha }} + run: | + docker build -t ${REGISTRY}/${{ gitea.actor }}${IMAGE_NAME}:${{ gitea.sha }} -t ${REGISTRY}/${{ gitea.actor }}${IMAGE_NAME}:latest . + docker push \ No newline at end of file