aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2023-10-25 20:59:33 +0200
committerAlex Corcoles <alex@corcoles.net>2023-10-25 21:03:31 +0200
commitc188fdaddfdfb74ded3467bbf201bd7d3fe027bb (patch)
treeccacbc8c47e5c8352b424d56c51e89fc90e0658d /.github
parente3d74bea1f2f8b6115d2f54ff1997becef76760e (diff)
Build bitlbee-telegram image
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-bitlbee-telegram.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/build-bitlbee-telegram.yml b/.github/workflows/build-bitlbee-telegram.yml
new file mode 100644
index 00000000..53edb2bf
--- /dev/null
+++ b/.github/workflows/build-bitlbee-telegram.yml
@@ -0,0 +1,22 @@
+on:
+ push:
+ paths:
+ - 'personal_infra/containers/bitlbee-telegram/**'
+ branches:
+ - master
+ workflow_dispatch:
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ submodules: true
+ - run: |
+ cd personal_infra/containers/bitlbee-telegram
+ podman build . -t quay.io/alexpdp7/bitlbee-telegram:latest
+ podman login -u="alexpdp7+github_workstation_builder" -p="$ROBOT_TOKEN" quay.io
+ podman push quay.io/alexpdp7/bitlbee-telegram:latest
+ env:
+ ROBOT_TOKEN: ${{ secrets.ROBOT_TOKEN }}