mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
CI: build docker images for devel branch
This commit is contained in:
parent
6637c0bfa8
commit
6335181492
34
.github/workflows/docker-tags.yml
vendored
34
.github/workflows/docker-tags.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Docker tags
|
||||
name: Docker branches
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -10,6 +10,32 @@ jobs:
|
||||
goreleaser:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo ${GITHUB_REF}
|
||||
- run: echo ${GITHUB_REF#refs/tags/}
|
||||
- run: echo ${GITHUB_REF##*/}
|
||||
- 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 images
|
||||
# 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#refs/tags/}
|
||||
DOCKER_USERNAME: ${{ secrets.DOCKERHUB }}
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_KEY }}
|
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@ -50,6 +50,7 @@ jobs:
|
||||
- name: Run GoReleaser
|
||||
run: |
|
||||
make release
|
||||
docker images
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
VERSION: ${{ steps.prepare.outputs.tag_name }}
|
||||
|
Loading…
Reference in New Issue
Block a user