From 5e8abac7f76ca7de85771970d612b2e5b53f4e29 Mon Sep 17 00:00:00 2001 From: Evann Regnault Date: Sun, 31 Mar 2024 15:30:45 +0000 Subject: [PATCH] Update .github/workflows/main.yml --- .github/workflows/main.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d0d80b1..936d669 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,17 +17,17 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: https://github.com/actions/checkout@v2 - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: https://github.com/docker/login-action@v2 with: registry: ${{ env.DOCKER_REGISTRY }} username: ${{ env.DOCKER_USERNAME }} password: ${{ env.DOCKER_PASSWORD }} - name: Install cargo-semver - uses: actions-rs/install@v0.1.2 + uses: https://github.com/actions-rs/install@v0.1.2 with: crate: cargo-get version: latest @@ -37,10 +37,10 @@ jobs: echo "VERSION=$(cargo get package.version --pretty)" >> $GITHUB_ENV - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: https://github.com/docker/setup-buildx-action@v2 - name: Build and push - uses: docker/build-push-action@v4 + uses: https://github.com/docker/build-push-action@v4 with: context: . push: true @@ -48,11 +48,4 @@ jobs: ${{ env.DOCKER_REGISTRY }}/captchuccino:latest ${{ env.DOCKER_REGISTRY }}/captchuccino:${{ env.VERSION }} cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Deploy to production - uses: fjogeleit/http-request-action@v1.14.1 - with: - url: ${{ format('{0}?TAG={1}',env.PORTAINER_API_WEBHOOK, env.VERSION) }} - method: 'POST' - preventFailureOnNoResponse: true \ No newline at end of file + cache-to: type=gha,mode=max \ No newline at end of file