Skip to content

Commit

Permalink
Update Docker Compose installation script
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuyakwa committed Jan 2, 2024
1 parent c039d47 commit c2d6992
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/teams-alert-on-push.yml
Original file line number Diff line number Diff line change
@@ -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 }}
2 changes: 1 addition & 1 deletion installers/docker/install_docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c2d6992

Please sign in to comment.