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