2
0
mirror of https://github.com/kazhala/dotbare synced 2024-11-17 21:25:32 +00:00

remove docker build, combine to one

This commit is contained in:
kevin zhuang 2020-05-11 16:05:58 +10:00
parent 5b9efa32ae
commit e64d0044b1
3 changed files with 7 additions and 26 deletions

View File

@ -1,4 +1,4 @@
name: AWSCodeBuild
name: DockerBuild
on:
push:
@ -26,3 +26,9 @@ jobs:
uses: aws-actions/aws-codebuild-run-project@v1.0.0
with:
project-name: dotbare
- uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: kazhala/dotbare
tags: latest

View File

@ -1,24 +0,0 @@
name: DockerBuild
on:
push:
branches:
- master
defaults:
run:
shell: bash
working-directory: .
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: kazhala/dotbare
tag_with_sha: true

View File

@ -1,7 +1,6 @@
# dotbare
![](https://github.com/kazhala/dotbare/workflows/DockerBuild/badge.svg)
![](https://github.com/kazhala/dotbare/workflows/AWSCodeBuild/badge.svg)
![](https://travis-ci.com/kazhala/dotbare.svg?branch=master)
![](https://codebuild.ap-southeast-2.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiQVZraHNtSFpDSjFETVBOcndEY1k0UVNEcWpYUmx1TFArMXRxQ0VLWitGQkhKOEZOOCtQSEZvdXFlQ2htcUlTMzdIeVNEWW81cFhndVJTeE1QWUFEQTQwPSIsIml2UGFyYW1ldGVyU3BlYyI6Ik1XQUc2VDYvY0JOTmUwYTMiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=master)