Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Trigger custom docker build when adding ci-build-docker to the commit #11782

Merged
merged 6 commits into from
Jun 16, 2020
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/deploy-docker-custom-message.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Docker Image Release - Custom Version
on: push
jobs:
deploy-docker:
name: Build Docker Image for Custom Branches
if: "contains(github.event.head_commit.message, 'ci-build-docker')"
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@master
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Deploy to docker hub
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: openethereum/openethereum
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
dockerfile: scripts/docker/alpine/Dockerfile
tag_names: false
tags: "alpha-${{ env.GITHUB_REF }}"