1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-03-15 12:20:13 +01:00
eclair/.github/workflows/docker-image.yml
Fabrice Drouin 53cb50a36e
Restrict building and publishing docker images to new pushes on master (#2182)
It is not really useful to build docker images for PRs and would not work anyway for forks that are not in the ACINQ repo.
2022-02-16 11:43:50 +01:00

25 lines
465 B
YAML

name: Docker Image CI
on:
push:
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