mirror of
https://github.com/ACINQ/eclair.git
synced 2025-03-03 09:29:08 +01:00
Publish docker images (#2130)
Publish docker images for master branch with tag `latest`
This commit is contained in:
parent
27e29ecebf
commit
88dffbc28c
1 changed files with 27 additions and 0 deletions
27
.github/workflows/docker-image.yml
vendored
Normal file
27
.github/workflows/docker-image.yml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
name: Docker Image CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: docker login
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USER }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: build the Docker image
|
||||
run: docker build -t acinq/eclair .
|
||||
|
||||
- name: docker push
|
||||
run: docker push acinq/eclair
|
Loading…
Add table
Reference in a new issue