mirror of
https://github.com/Hackplayers/evil-winrm
synced 2026-06-08 11:12:45 +00:00
36 lines
693 B
YAML
36 lines
693 B
YAML
#Workflow for docker autobuild in dev branch
|
|
|
|
name: 'Docker CI dev'
|
|
|
|
on:
|
|
push:
|
|
branches: dev
|
|
paths:
|
|
- '**.md'
|
|
- '**.rb'
|
|
- 'Dockerfile'
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Docker Hub login
|
|
uses: docker/login-action@v1
|
|
with:
|
|
username: oscarakaelvis
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
logout: true
|
|
|
|
- name: Check out code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v2
|
|
with:
|
|
tags: oscarakaelvis/evil-winrm:beta
|
|
context: .
|
|
no-cache: true
|
|
push: true
|