Merge pull request #616 from v1s1t0r1sh3r3/dev #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Workflow for docker autobuild in master branch | |
name: 'Docker CI master' | |
on: | |
push: | |
branches: master | |
paths: | |
- '**.md' | |
- '**.sh' | |
- '**.txt' | |
- '**.db' | |
- '.airgeddonrc' | |
- 'Dockerfile' | |
workflow_dispatch: | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Docker Hub login | |
uses: docker/login-action@v1 | |
with: | |
username: v1s1t0r1sh3r3 | |
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: v1s1t0r1sh3r3/airgeddon:latest | |
context: . | |
no-cache: true | |
push: true |