Skip to content

Commit

Permalink
Publish docker images (#2130)
Browse files Browse the repository at this point in the history
Publish docker images for master branch with tag `latest`
  • Loading branch information
sstone committed Jan 18, 2022
1 parent 27e29ec commit 88dffbc
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 88dffbc

Please sign in to comment.