mirror of https://github.com/Box-boi/vubuntu.git
dockerio-push
This commit is contained in:
parent
3a6713654b
commit
791ed564a5
|
|
@ -0,0 +1,25 @@
|
|||
name: Docker Image CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
-
|
||||
name: Login to Docker Hub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Build & Push the Docker image
|
||||
run: |
|
||||
docker build . --file Dockerfile --tag vubuntu:latest
|
||||
docker push vubuntu:latest
|
||||
Loading…
Reference in New Issue