diff --git a/.github/workflows/teams-alert-on-push.yml b/.github/workflows/teams-alert-on-push.yml new file mode 100644 index 0000000..e5c1b35 --- /dev/null +++ b/.github/workflows/teams-alert-on-push.yml @@ -0,0 +1,15 @@ +name: MS Teams Github Actions integration + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: opsless/ms-teams-github-actions@main + if: always() # to let this step always run even if previous step failed + with: + github-token: ${{ github.token }} + webhook-uri: ${{ secrets.MS_TEAMS_WEBHOOK_URI }} diff --git a/installers/docker/install_docker-compose.sh b/installers/docker/install_docker-compose.sh index 3305c98..d040add 100644 --- a/installers/docker/install_docker-compose.sh +++ b/installers/docker/install_docker-compose.sh @@ -24,7 +24,7 @@ if [ -f "$DESTINATION" ]; then $SUDO rm "$DESTINATION" fi -$SUDO DEBIAN_FRONTEND=noninteractive apt-get install jq -y +$SUDO apt-get install jq -y compose_version="$(curl --silent https://api.github.com/repos/docker/compose/releases/latest | jq .name -r)" $SUDO curl -L https://github.com/docker/compose/releases/download/"$compose_version"/docker-compose-"$(uname -s)"-"$(uname -m)" -o "$DESTINATION"