From f131c0812dd419f7b916dd4a1b8d00e4c509f956 Mon Sep 17 00:00:00 2001 From: panchajanya Date: Sat, 24 Feb 2024 23:41:14 +0530 Subject: [PATCH] Create docker-image.yml --- .github/workflows/docker-image.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/docker-image.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..bf1edac --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,18 @@ +name: Docker Image CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build the Docker image + run: docker build -f Dockerfile . -t panchajanya1999/archlinux:latest && echo '86abc7fb-21f7-4d31-a622-baf52d49f41f' | docker login -u 'panchajanya1999' --password-stdin && docker push panchajanya1999/archlinux:latest