Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ericjeangirard committed Jul 5, 2023
2 parents 24e7d02 + e41b826 commit ec011cf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
name: Build
name: Publish Docker image

on:
push:
tags:
- '*'

env:
MM_NOTIFICATION_CHANNEL: 'bso-bot'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 🏁 Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: 🏷️ Get Tag
id: version
run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT

- name: 🐋 Build docker image
run: make docker-build
Expand All @@ -19,15 +28,13 @@ jobs:
- name: 📦 Push docker image
run: make docker-push

slack:
needs:
- build
notify:
needs: build
if: always()
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dataesr/slack-notifier-action@v1
- uses: dataesr/mm-notifier-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN}}
slack_token: ${{ secrets.SLACK_TOKEN }}
slack_channel: '#bsso_bso2'
mattermost_webhook_url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
mattermost_channel: ${{ env.MM_NOTIFICATION_CHANNEL}}
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ requests==2.19.1
retry~=0.9.2
rq==1.9.0
tokenizers==0.10.1
swiftclient

0 comments on commit ec011cf

Please sign in to comment.