Skip to content

Initial commit

Initial commit #5

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
env:
image_name: nicolaipre/pwnbox
tag: latest
run: |
docker build . --file Dockerfile --tag $image_name:$tag
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWD }}
docker push $image_name:$tag