new images actions
This commit is contained in:
parent
32658c741c
commit
0a0cc6600e
15
.github/workflows/dev-image.yml
vendored
Normal file
15
.github/workflows/dev-image.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
name: Docker Images CI
|
||||
on:
|
||||
push:
|
||||
branches: [ dev ]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build the Unified Docker image
|
||||
run: docker build . --file Dockerfile --tag albertoxamin/bang:latest
|
||||
- name: Log into registry
|
||||
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
|
||||
- name: Push images
|
||||
run: docker push albertoxamin/bang:dev
|
7
.github/workflows/docker-image.yml
vendored
7
.github/workflows/docker-image.yml
vendored
@ -9,12 +9,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build the Unified Docker image
|
||||
run: docker build . --file Dockerfile --tag albertoxamin/bang:latest
|
||||
- name: Build the Backend Docker image
|
||||
run: cd backend;docker build . --file Dockerfile --tag albertoxamin/bang-backend:latest
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build the Frontend Docker image
|
||||
run: cd frontend;docker build . --file Dockerfile --tag albertoxamin/bang-frontend:latest
|
||||
- name: Log into registry
|
||||
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
|
||||
- name: Push images
|
||||
run: docker push albertoxamin/bang:latest; docker push albertoxamin/bang-backend:latest; docker push albertoxamin/bang-frontend:latest
|
||||
run: docker push albertoxamin/bang:latest
|
||||
|
@ -6651,6 +6651,11 @@ prettier@^1.18.2:
|
||||
resolved "https://registry.npm.taobao.org/prettier/download/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
|
||||
integrity sha1-99f1/4qc2HKnvkyhQglZVqYHl8s=
|
||||
|
||||
pretty-checkbox@^3.0.3:
|
||||
version "3.0.3"
|
||||
resolved "https://registry.yarnpkg.com/pretty-checkbox/-/pretty-checkbox-3.0.3.tgz#d49c8013a8fc08ee0c2d6ebde453464bfdbc428e"
|
||||
integrity sha1-1JyAE6j8CO4MLW695FNGS/28Qo4=
|
||||
|
||||
pretty-error@^2.0.2:
|
||||
version "2.1.2"
|
||||
resolved "https://registry.npm.taobao.org/pretty-error/download/pretty-error-2.1.2.tgz?cache=0&sync_timestamp=1603050722482&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpretty-error%2Fdownload%2Fpretty-error-2.1.2.tgz#be89f82d81b1c86ec8fdfbc385045882727f93b6"
|
||||
|
Loading…
Reference in New Issue
Block a user