diff options
author | Christian Segundo | 2022-11-05 21:35:53 +0100 |
---|---|---|
committer | Christian Segundo | 2022-11-05 21:35:53 +0100 |
commit | 888da767a63e66b5465f97425344dae036d821cc (patch) | |
tree | 51a25a8efbe8e2614ba5ab92f143ed4edbd5b927 /.github/workflows | |
download | nvim-888da767a63e66b5465f97425344dae036d821cc.tar.gz |
first commit
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/main.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..b061f01 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,32 @@ +--- +name: Build +on: + push: + branches: [master] + schedule: + - cron: '5 4 * * *' + workflow_dispatch: + +jobs: + push: + runs-on: ubuntu-latest + permissions: + packages: write + contents: read + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - uses: docker/login-action@v1 + env: + GITHUB_USER: ${{ github.actor }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + registry: ghcr.io + username: $GITHUB_USER + password: ${{ secrets.GITHUB_TOKEN }} + + - run: | + make docker-push \ + DOCKER_EXTRA_ARGS="-v ${HOME}/.docker:/root/.docker" |