Fix
This commit is contained in:
parent
3da7e9d132
commit
8edee25d03
10
.github/workflows/on-master-push.yml
vendored
10
.github/workflows/on-master-push.yml
vendored
@ -2,8 +2,8 @@ name: Build on master push
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
# branches:
|
branches:
|
||||||
# - master
|
- master
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DOCKER_CLI_EXPERIMENTAL: enabled
|
DOCKER_CLI_EXPERIMENTAL: enabled
|
||||||
@ -16,7 +16,7 @@ jobs:
|
|||||||
VERSION: 1.16.0
|
VERSION: 1.16.0
|
||||||
steps:
|
steps:
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_HUB_USER }}" --password-stdin
|
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u lukechilds --password-stdin
|
||||||
|
|
||||||
- name: Checkout project
|
- name: Checkout project
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@ -34,6 +34,6 @@ jobs:
|
|||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64,linux/arm64 \
|
||||||
--build-arg VERSION=$VERSION \
|
--build-arg VERSION=$VERSION \
|
||||||
--tag ${{ secrets.DOCKER_HUB_USER }}/electrs:v$VERSION \
|
--tag lukechilds/electrumx:v$VERSION \
|
||||||
--tag ${{ secrets.DOCKER_HUB_USER }}/electrs:latest \
|
--tag lukechilds/electrumx:latest \
|
||||||
--output "type=registry" .
|
--output "type=registry" .
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user