fix incorrect context
This commit is contained in:
2
.github/workflows/build-nightly-cron.yaml
vendored
2
.github/workflows/build-nightly-cron.yaml
vendored
@@ -322,7 +322,7 @@ jobs:
|
|||||||
- name: Build and Push
|
- name: Build and Push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: ${{ gitea.workspace }}/docker
|
context: ${{ env.SOURCECODE_DIR }}/docker
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: |
|
labels: |
|
||||||
|
|||||||
6
.github/workflows/build-release-cron.yaml
vendored
6
.github/workflows/build-release-cron.yaml
vendored
@@ -296,7 +296,7 @@ jobs:
|
|||||||
# docker
|
# docker
|
||||||
- name: Move .tgz to docker dir
|
- name: Move .tgz to docker dir
|
||||||
run: |
|
run: |
|
||||||
mv project/spt-server.tgz docker/spt-server.tgz
|
mv ${{ env.SOURCECODE_DIR }}/project/spt-server.tgz docker/spt-server.tgz
|
||||||
|
|
||||||
- name: Extract metadata for Docker with bem version
|
- name: Extract metadata for Docker with bem version
|
||||||
if: ${{ contains(needs.prepare.outputs.TARGET_TAG, 'BEM') }}
|
if: ${{ contains(needs.prepare.outputs.TARGET_TAG, 'BEM') }}
|
||||||
@@ -345,7 +345,7 @@ jobs:
|
|||||||
if: ${{ contains(needs.prepare.outputs.TARGET_TAG, 'BEM') }}
|
if: ${{ contains(needs.prepare.outputs.TARGET_TAG, 'BEM') }}
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: ${{ gitea.workspace }}/docker
|
context: ${{ env.SOURCECODE_DIR }}/docker
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: |
|
labels: |
|
||||||
@@ -359,7 +359,7 @@ jobs:
|
|||||||
if: ${{ !contains(needs.prepare.outputs.TARGET_TAG, 'BEM') }}
|
if: ${{ !contains(needs.prepare.outputs.TARGET_TAG, 'BEM') }}
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: ${{ gitea.workspace }}/docker
|
context: ${{ env.SOURCECODE_DIR }}/docker
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta-latest.outputs.tags }}
|
tags: ${{ steps.meta-latest.outputs.tags }}
|
||||||
labels: |
|
labels: |
|
||||||
|
|||||||
Reference in New Issue
Block a user