Add GitHub Actions workflow for building and pushing Docker image
Some checks failed
/ build (push) Failing after 2m56s

This commit is contained in:
Edgar P. Burkhart 2025-05-04 21:56:33 +02:00
parent 5faf0b9487
commit 55452f7b9f
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -0,0 +1,17 @@
on: [push]
jobs:
build:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: code.edgarpierre.fr/edpibu/botbotbot:${{ github.ref_name}}
secrets: |
DOCKER_USERNAME=${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD=${{ secrets.DOCKER_PASSWORD }}