Always run docker steps (#3034)
This commit is contained in:
parent
0a763b91d5
commit
5d41165b5b
1 changed files with 0 additions and 7 deletions
7
.github/workflows/pipeline.yml
vendored
7
.github/workflows/pipeline.yml
vendored
|
|
@ -150,18 +150,14 @@ jobs:
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
id: qemu
|
id: qemu
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
if: env.DOCKER_IMAGE != ''
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
if: env.DOCKER_IMAGE != ''
|
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
if: env.DOCKER_IMAGE != ''
|
|
||||||
|
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
if: env.DOCKER_IMAGE != ''
|
|
||||||
with:
|
with:
|
||||||
name: binaries
|
name: binaries
|
||||||
path: dist
|
path: dist
|
||||||
|
|
@ -174,7 +170,6 @@ jobs:
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
if: env.DOCKER_IMAGE != ''
|
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
|
|
@ -182,7 +177,6 @@ jobs:
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Extract metadata for Docker
|
- name: Extract metadata for Docker
|
||||||
if: env.DOCKER_IMAGE != ''
|
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
|
|
@ -197,7 +191,6 @@ jobs:
|
||||||
type=raw,value=develop,enable={{is_default_branch}}
|
type=raw,value=develop,enable={{is_default_branch}}
|
||||||
|
|
||||||
- name: Build and Push
|
- name: Build and Push
|
||||||
if: env.DOCKER_IMAGE != ''
|
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue