Add GitHub Actions workflow for building and pushing Docker image
Some checks failed
/ build (push) Failing after 2m56s
Some checks failed
/ build (push) Failing after 2m56s
This commit is contained in:
parent
5faf0b9487
commit
55452f7b9f
1 changed files with 17 additions and 0 deletions
17
.forgejo/workflows/push.yaml
Normal file
17
.forgejo/workflows/push.yaml
Normal 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 }}
|
Loading…
Add table
Add a link
Reference in a new issue