1
0
mirror of https://github.com/zu1k/nali.git synced 2025-02-02 18:32:43 +08:00
nali/.github/workflows/docker.yml

26 lines
584 B
YAML
Raw Normal View History

name: docker
2020-07-17 09:08:59 +08:00
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Build and push Docker images
uses: docker/build-push-action@v1.1.0
with:
username: zu1k
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: zu1k/nali/nali
tag_with_ref: true