From d351faf849e4f11a5d89687df6389d056dad49ab Mon Sep 17 00:00:00 2001 From: "TechnicallySimple.me" <65892948+TechnicallySimpleMe@users.noreply.github.com> Date: Mon, 1 Jul 2024 18:22:35 +1000 Subject: [PATCH 1/3] Updated-pipeline to build docker image --- .github/workflows/blank.yml | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/blank.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000..39e78df --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,39 @@ +# This is a basic workflow to help you get started with Actions + +name: xz-demo-image-pipeline + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "main" branch + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v4 + + - name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Build and push Docker image + uses: docker/build-push-action@v2 + with: + context: . + push: true + tags: msachdeva/xz-repo:dta From e94045248adc55395b479753609167e756c164be Mon Sep 17 00:00:00 2001 From: "TechnicallySimple.me" <65892948+TechnicallySimpleMe@users.noreply.github.com> Date: Mon, 1 Jul 2024 18:23:14 +1000 Subject: [PATCH 2/3] Rename blank.yml to pipeline.yml --- .github/workflows/{blank.yml => pipeline.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{blank.yml => pipeline.yml} (100%) diff --git a/.github/workflows/blank.yml b/.github/workflows/pipeline.yml similarity index 100% rename from .github/workflows/blank.yml rename to .github/workflows/pipeline.yml From 42c0ac02dabb9aeef7e6daffcdcc7becb924fc0e Mon Sep 17 00:00:00 2001 From: "TechnicallySimple.me" <65892948+TechnicallySimpleMe@users.noreply.github.com> Date: Mon, 1 Jul 2024 18:23:50 +1000 Subject: [PATCH 3/3] Create Dockerfile --- Dockerfile | 1 + 1 file changed, 1 insertion(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/Dockerfile @@ -0,0 +1 @@ +