From 154cc4e34def359e2d486676a1055ee982b6cfcd Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Fri, 15 Sep 2023 13:55:15 +0200 Subject: switch to buildkite --- .buildkite/pipeline.yml | 7 +++++++ .github/workflows/main.yml | 32 -------------------------------- Makefile | 3 +-- 3 files changed, 8 insertions(+), 34 deletions(-) create mode 100644 .buildkite/pipeline.yml delete mode 100644 .github/workflows/main.yml diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml new file mode 100644 index 0000000..313fd75 --- /dev/null +++ b/.buildkite/pipeline.yml @@ -0,0 +1,7 @@ +--- +steps: + - name: push + branches: [master] + command: | + make docker-push \ + DOCKER_EXTRA_ARGS="-v ${HOME}/.docker:/root/.docker" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index ffcda5f..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,32 +0,0 @@ ---- -name: Build -on: - push: - branches: [main] - 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" diff --git a/Makefile b/Makefile index 647124a..94c7961 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ -PROJECT = docker-nvim -IMAGE_NAME := ghcr.io/someone-stole-my-name/$(PROJECT) +IMAGE_NAME := docker.io/chn2guevara/nvim IMAGE_PLATFORMS := linux/amd64,linux/arm64 define DOCKER_DEPS -- cgit v1.2.3