diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 247d6a1..3774e1b 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -16,8 +16,6 @@ jobs: uses: actions/checkout@v4 - name: Set up Docker Buildx uses: https://github.com/docker/setup-buildx-action@v3 - - name: DEBUG - run: ls - name: Build and push uses: https://github.com/docker/build-push-action@v6 with: @@ -26,16 +24,11 @@ jobs: pull: true no-cache: true tags: "git.vanespen.dev/evanespen/blog:latest" - # - name: Build and push - # uses: docker/build-push-action@v6 - # with: - # push: true - # tags: evanespen/blog:latest - # - name: Build image - # run: buildah build -f Dockerfile -t blog - # - name: Log in to registry - # uses: docker/login-action@v3 - # with: - # registry: ${{ env.GITEA_DOMAIN }} - # username: ${{ env.GITEA_REGISTRY_USER }} - # password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }} + - run: export GIT_TOKEN=${{ env.TOKEN }} + - run: export GIT_REPO=https://git.vanespen.dev/blog + - name: Setup argocd + run: | + wget https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.4.20/argocd-autopilot-linux-amd64.tar.gz \ + && tar xzvf argocd-autopilot-linux-amd64.tar.gz \ + && argocd-autopilot-linux-amd64 repo bootstrap +