Actions #183
1
.github/workflows/PullRequest.yml
vendored
1
.github/workflows/PullRequest.yml
vendored
@ -52,6 +52,7 @@ jobs:
|
||||
run: npm test
|
||||
|
||||
Docker-Build:
|
||||
needs: [Node]
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
|
26
.github/workflows/main.yml
vendored
26
.github/workflows/main.yml
vendored
@ -70,8 +70,7 @@ jobs:
|
||||
- name: checkout
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Build and push
|
||||
id: docker_build
|
||||
- name: Bds Maneger Core Image
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
push: true
|
||||
@ -79,28 +78,7 @@ jobs:
|
||||
tags: ghcr.io/the-bds-maneger/core:main
|
||||
platforms: ${{ env.DOCKER_ARCH }}
|
||||
|
||||
docker_base:
|
||||
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
|
||||
- name: Bds Maneger base Image
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
push: true
|
||||
|
Reference in New Issue
Block a user