Actions #183
1
.github/workflows/PullRequest.yml
vendored
1
.github/workflows/PullRequest.yml
vendored
@ -52,6 +52,7 @@ jobs:
|
|||||||
run: npm test
|
run: npm test
|
||||||
|
|
||||||
Docker-Build:
|
Docker-Build:
|
||||||
|
needs: [Node]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
26
.github/workflows/main.yml
vendored
26
.github/workflows/main.yml
vendored
@ -70,8 +70,7 @@ jobs:
|
|||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
|
||||||
- name: Build and push
|
- name: Bds Maneger Core Image
|
||||||
id: docker_build
|
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
@ -79,28 +78,7 @@ jobs:
|
|||||||
tags: ghcr.io/the-bds-maneger/core:main
|
tags: ghcr.io/the-bds-maneger/core:main
|
||||||
platforms: ${{ env.DOCKER_ARCH }}
|
platforms: ${{ env.DOCKER_ARCH }}
|
||||||
|
|
||||||
docker_base:
|
- name: Bds Maneger base Image
|
||||||
needs: [npm]
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v1
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v1
|
|
||||||
|
|
||||||
- name: Login to DockerHub
|
|
||||||
uses: docker/login-action@v1
|
|
||||||
with:
|
|
||||||
registry: ghcr.io
|
|
||||||
username: ${{ github.actor }}
|
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: checkout
|
|
||||||
uses: actions/checkout@master
|
|
||||||
|
|
||||||
- name: Build and push
|
|
||||||
id: docker_build
|
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
|
Reference in New Issue
Block a user