diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7027032..3f1859f 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -49,5 +49,12 @@ jobs: echo ${DOCKER_HUB_TOKEN} | docker login -u ${DOCKER_HUB_USER} --password-stdin docker buildx build --push \ --build-arg VERSION=${version} \ - --platform linux/amd64,linux/arm/v7,linux/arm64 \ + --platform linux/amd64 \ -t ${DOCKER_HUB_USER}/teledger:${ref} . + + - name: deploy + if: ${{ github.ref == 'refs/heads/main' }} + env: + DEPLOYMENT_URL: ${{ secrets.DEPLOYMENT_URL }} + run: | + curl ${DEPLOYMENT_URL}