mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 11:41:19 +00:00
CI: build docker images for devel branch
This commit is contained in:
parent
c89d409079
commit
6637c0bfa8
40
.github/workflows/docker-branches.yml
vendored
Normal file
40
.github/workflows/docker-branches.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
name: Docker branches
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- devel
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
goreleaser:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: dockerhub-login
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB }}
|
||||
password: ${{ secrets.DOCKERHUB_KEY }}
|
||||
- name: ghcr-login
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: docker/setup-qemu-action@v2
|
||||
|
||||
- run: |
|
||||
make release-dry-run
|
||||
# docker image push --all-tags thorax/erigon
|
||||
# docker image push --all-tags ghcr.io/ledgerwatch/erigon
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
VERSION: ${GITHUB_REF##*/}
|
||||
DOCKER_USERNAME: ${{ secrets.DOCKERHUB }}
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_KEY }}
|
@ -1,9 +1,7 @@
|
||||
name: Check
|
||||
name: Docker tags
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- devel
|
||||
tags:
|
||||
- 'y*.*.*'
|
||||
workflow_dispatch:
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -45,6 +45,8 @@ jobs:
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- run: echo ${{ steps.prepare.outputs.tag_name }}
|
||||
|
||||
- name: Run GoReleaser
|
||||
run: |
|
||||
make release
|
||||
|
Loading…
Reference in New Issue
Block a user