mirror of
https://github.com/fluencelabs/node-distro
synced 2025-04-25 07:22:14 +00:00
parent
b11d03d23e
commit
001decf14b
8
.github/workflows/container.yml
vendored
8
.github/workflows/container.yml
vendored
@ -58,7 +58,7 @@ jobs:
|
|||||||
kv/hub.docker.com/fluencebot password | DOCKER_PASSWORD
|
kv/hub.docker.com/fluencebot password | DOCKER_PASSWORD
|
||||||
|
|
||||||
- name: Import secrets
|
- name: Import secrets
|
||||||
if: ! inputs.release
|
if: ${{ !inputs.release }}
|
||||||
uses: hashicorp/vault-action@v2.4.3
|
uses: hashicorp/vault-action@v2.4.3
|
||||||
with:
|
with:
|
||||||
url: https://vault.fluence.dev
|
url: https://vault.fluence.dev
|
||||||
@ -82,7 +82,7 @@ jobs:
|
|||||||
password: ${{ env.DOCKER_PASSWORD }}
|
password: ${{ env.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Login to private DockerHub
|
- name: Login to private DockerHub
|
||||||
if: ! inputs.release
|
if: ${{ !inputs.release }}
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: "docker.fluence.dev"
|
registry: "docker.fluence.dev"
|
||||||
@ -107,7 +107,7 @@ jobs:
|
|||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
- name: Build and push ${{ matrix.package }}
|
- name: Build and push ${{ matrix.package }}
|
||||||
if: matrix.package == 'ipfs' && ! inputs.release
|
if: ${{ matrix.package == 'ipfs' && !inputs.release }}
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
@ -124,7 +124,7 @@ jobs:
|
|||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
- name: Docker Hub Description
|
- name: Docker Hub Description
|
||||||
if: matrix.package == 'ipfs' && ! inputs.release
|
if: ${{ matrix.package == 'ipfs' && !inputs.release }}
|
||||||
uses: peter-evans/dockerhub-description@v3
|
uses: peter-evans/dockerhub-description@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ env.DOCKER_USERNAME }}
|
username: ${{ env.DOCKER_USERNAME }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user