mirror of
https://github.com/sethforprivacy/p2pool-docker.git
synced 2025-12-08 00:15:04 -05:00
Compare commits
4 Commits
00fe0b7e4d
...
ec715061c0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec715061c0 | ||
|
|
90af90e29a | ||
|
|
9b66c26a8d | ||
|
|
ba800e4da7 |
2
.github/workflows/build-image-on-push.yml
vendored
2
.github/workflows/build-image-on-push.yml
vendored
@@ -44,7 +44,7 @@ jobs:
|
|||||||
-
|
-
|
||||||
name: Test build of image
|
name: Test build of image
|
||||||
id: build
|
id: build
|
||||||
uses: docker/build-push-action@v6.13.0
|
uses: docker/build-push-action@v6.14.0
|
||||||
with:
|
with:
|
||||||
push: false
|
push: false
|
||||||
load: true
|
load: true
|
||||||
|
|||||||
14
.github/workflows/update-image-on-push.yml
vendored
14
.github/workflows/update-image-on-push.yml
vendored
@@ -6,6 +6,7 @@ on:
|
|||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- 'Dockerfile'
|
- 'Dockerfile'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GHCR_REPO: ghcr.io/${{ github.repository_owner }}/p2pool
|
GHCR_REPO: ghcr.io/${{ github.repository_owner }}/p2pool
|
||||||
@@ -37,9 +38,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
${{ env.GHCR_REPO }}
|
${{ env.GHCR_REPO }}
|
||||||
-
|
|
||||||
name: Get p2pool release tag
|
|
||||||
run: echo P2POOL_TAG="$(awk -F '=' '/P2POOL_BRANCH=/ {print $2}' Dockerfile)" >> $GITHUB_ENV
|
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3.9.0
|
uses: docker/setup-buildx-action@v3.9.0
|
||||||
@@ -55,7 +53,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
-
|
-
|
||||||
name: Build and and push by digest
|
name: Build and and push by digest
|
||||||
uses: docker/build-push-action@v6.13.0
|
uses: docker/build-push-action@v6.14.0
|
||||||
id: build
|
id: build
|
||||||
with:
|
with:
|
||||||
outputs: type=image,"name=${{ env.GHCR_REPO }}",push-by-digest=true,name-canonical=true,push=true
|
outputs: type=image,"name=${{ env.GHCR_REPO }}",push-by-digest=true,name-canonical=true,push=true
|
||||||
@@ -99,6 +97,12 @@ jobs:
|
|||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3.9.0
|
uses: docker/setup-buildx-action@v3.9.0
|
||||||
|
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Get p2pool release tag
|
||||||
|
run: echo P2POOL_TAG="$(awk -F '=' '/P2POOL_BRANCH=/ {print $2}' Dockerfile)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
@@ -108,7 +112,7 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
type=sha
|
type=sha
|
||||||
type=raw,value=latest,enable={{is_default_branch}}
|
type=raw,value=latest,enable={{is_default_branch}}
|
||||||
type=semver,pattern={{version}},value=${{ env.P2POOL_TAG }}
|
type=raw,value=${{ env.P2POOL_TAG }}
|
||||||
|
|
||||||
- name: Create manifest list and push
|
- name: Create manifest list and push
|
||||||
working-directory: ${{ runner.temp }}/digests
|
working-directory: ${{ runner.temp }}/digests
|
||||||
|
|||||||
Reference in New Issue
Block a user