From 6526fe23949acd51e859b289e5b64e9db2427af4 Mon Sep 17 00:00:00 2001 From: Ahmed-Elarosi Date: Wed, 11 Dec 2024 17:08:02 +0100 Subject: [PATCH 1/7] Adds the Dockerfile and the pipeline --- .Dockerfile.swp | Bin 0 -> 12288 bytes .github/workflows/docker-image.yml | 35 +++++++++++++++++++++++++++++ .vscode/settings.json | 5 +++++ Dockerfile | 7 ++++++ 4 files changed, 47 insertions(+) create mode 100644 .Dockerfile.swp create mode 100644 .github/workflows/docker-image.yml create mode 100644 .vscode/settings.json create mode 100644 Dockerfile diff --git a/.Dockerfile.swp b/.Dockerfile.swp new file mode 100644 index 0000000000000000000000000000000000000000..879af807c3f6c5c2674bf110d62d0c29323b131d GIT binary patch literal 12288 zcmeI&&q~8E90%~si(aOpFAyi})<1KXDc-gTL%No3Q-_GeG}}6BTG|X$L@&O858*3$ z^#yzg(`_Cm$h<1wz>o0D??*~Lw~}1hCoPBWn-!wRCL!xZZ@A_>llpyuu+fbO^7SPn z;Ng;vS^06gq1A~eDHm3f#$&-%W{oo|i21chF9%^Htf5dUltUv^EL9>fSdv(cX+1Ch z>O*LP00b5VCTd{RioNPy#m)=6r5(Dx)m!XA1_1~_00Izz00bZa0SNqS0hJWUlRn|f z{FJNnx$teCrx6`Cm+qOyFY0&dhmU1hU zfw(otS?Pi_+g-o!xvh3r*JK Date: Sat, 14 Dec 2024 14:32:12 +0100 Subject: [PATCH 2/7] fix pipeline --- .github/workflows/docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 1ba5f81..d862579 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -31,5 +31,5 @@ jobs: context: . push: true tags: | - ghcr.io/${{ github.repository_owner }}/getting-started:latest - ghcr.io/${{ github.repository_owner }}/getting-started:${{ github.sha }} + ghcr.io/${{ github.repository_owner }}/Ahmed-Elarosi/getting-started:latest + ghcr.io/${{ github.repository_owner }}/Ahmed-Elarosi/getting-started:${{ github.sha }} From aca7eb92c805ae3d1c98aabaf91259e95dda37cc Mon Sep 17 00:00:00 2001 From: Ahmed-Elarosi Date: Sat, 14 Dec 2024 14:41:59 +0100 Subject: [PATCH 3/7] fix repo name error --- .github/workflows/docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index d862579..5fea5e5 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -31,5 +31,5 @@ jobs: context: . push: true tags: | - ghcr.io/${{ github.repository_owner }}/Ahmed-Elarosi/getting-started:latest - ghcr.io/${{ github.repository_owner }}/Ahmed-Elarosi/getting-started:${{ github.sha }} + ghcr.io/${{ github.repository_owner }}/ahmedelarosi/getting-started:latest + ghcr.io/${{ github.repository_owner }}/ahmedelarosi/getting-started:${{ github.sha }} From d2d286e07bcf29a8b7dc6193435588a69ba6a5a7 Mon Sep 17 00:00:00 2001 From: Ahmed-Elarosi Date: Sat, 14 Dec 2024 14:45:02 +0100 Subject: [PATCH 4/7] fix repo name error make it lowercase --- .github/workflows/docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 5fea5e5..35e075a 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -31,5 +31,5 @@ jobs: context: . push: true tags: | - ghcr.io/${{ github.repository_owner }}/ahmedelarosi/getting-started:latest - ghcr.io/${{ github.repository_owner }}/ahmedelarosi/getting-started:${{ github.sha }} + ghcr.io/${{ github.repository_owner }}/ahmed-elarosi/getting-started:latest + ghcr.io/${{ github.repository_owner }}/ahmed-elarosi/getting-started:${{ github.sha }} From f4708d4e00b7b5fac55038dfe0f1d9410e97f77a Mon Sep 17 00:00:00 2001 From: Ahmed-Elarosi Date: Sat, 14 Dec 2024 14:47:36 +0100 Subject: [PATCH 5/7] fix and edit tags --- .github/workflows/docker-image.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 35e075a..1578f6b 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -31,5 +31,8 @@ jobs: context: . push: true tags: | - ghcr.io/${{ github.repository_owner }}/ahmed-elarosi/getting-started:latest - ghcr.io/${{ github.repository_owner }}/ahmed-elarosi/getting-started:${{ github.sha }} + ghcr.io/ahmed-elarosi/getting-started:latest + ghcr.io/ahmed-elarosi/getting-started:${{ github.sha }} + + # ghcr.io/${{ github.repository_owner }}/ahmed-elarosi/getting-started:latest + # ghcr.io/${{ github.repository_owner }}/ahmed-elarosi/getting-started:${{ github.sha }} From 62fc74dbffe3760f6a563550b4852858e9ed5eb5 Mon Sep 17 00:00:00 2001 From: Ahmed-Elarosi Date: Sat, 14 Dec 2024 14:48:57 +0100 Subject: [PATCH 6/7] delete old tags --- .github/workflows/docker-image.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 1578f6b..2676628 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -33,6 +33,3 @@ jobs: tags: | ghcr.io/ahmed-elarosi/getting-started:latest ghcr.io/ahmed-elarosi/getting-started:${{ github.sha }} - - # ghcr.io/${{ github.repository_owner }}/ahmed-elarosi/getting-started:latest - # ghcr.io/${{ github.repository_owner }}/ahmed-elarosi/getting-started:${{ github.sha }} From b05c960bd5304fdb31372ee104289e8e03e3302b Mon Sep 17 00:00:00 2001 From: Ahmed-Elarosi Date: Sat, 14 Dec 2024 15:12:58 +0100 Subject: [PATCH 7/7] update tages names #1 --- .github/workflows/docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 2676628..1ba5f81 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -31,5 +31,5 @@ jobs: context: . push: true tags: | - ghcr.io/ahmed-elarosi/getting-started:latest - ghcr.io/ahmed-elarosi/getting-started:${{ github.sha }} + ghcr.io/${{ github.repository_owner }}/getting-started:latest + ghcr.io/${{ github.repository_owner }}/getting-started:${{ github.sha }}