Added docker container building / uploading (#46)
This commit is contained in:
parent
acdf7965ea
commit
52e281ee9b
1 changed files with 21 additions and 2 deletions
23
.github/workflows/run_tests.yml
vendored
23
.github/workflows/run_tests.yml
vendored
|
@ -7,10 +7,29 @@ on:
|
|||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
laravel-tests:
|
||||
docker:
|
||||
runs-on: ubuntu-20.04
|
||||
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:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Build and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
push: true
|
||||
tags: bitsechosting/controlpanel:latest
|
||||
- name: Image digest
|
||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
||||
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue