From b26a791be7c7415b0437be10068bdc5763184d8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Silva=20Gonz=C3=A1lez?= <64492375+JaSiLez@users.noreply.github.com> Date: Tue, 23 Apr 2024 13:50:39 +0200 Subject: [PATCH] Add initial commit --- .github/CODEOWNERS | 26 ++++++++++++++++++++++++++ .github/workflows/cd.yml | 17 +++++++++-------- Makefile | 2 +- 3 files changed, 36 insertions(+), 9 deletions(-) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..bcec160 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,26 @@ +# Lines starting with '#' are comments. +# Each line is a file pattern followed by one or more owners. + +# More details are here: https://help.github.com/articles/about-codeowners/ + +# The '*' pattern is global owners. + +# Order is important. The last matching pattern has the most precedence. +# The folders are ordered as follows: + +# In each subsection folders are ordered first by depth, then alphabetically. +# This should make it easy to add new rules without breaking existing ones. + +# OWNERS_TEAMS +* @stemdo-labs/ccoe + +# COMPLIANCE_TEAMS +.github/** *@stemdo-labs/ccoe + + +## Examples: +# C# samples: +# /csharp/** @User1 + +# ML.NET samples: +# /machine-learning/** @user2 \ No newline at end of file diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e5adda1..771279d 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,4 +1,4 @@ -name: cd +name: CD on: push: @@ -8,7 +8,7 @@ on: workflow_dispatch: env: - IMAGE_NAME: network-tools + IMAGE_NAME: container-network-tools jobs: publish: @@ -23,11 +23,11 @@ jobs: - name: Check out repository uses: actions/checkout@v4 - - name: Log in to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + #- name: Log in to Docker Hub + # uses: docker/login-action@v3 + # with: + # username: ${{ secrets.DOCKER_USERNAME }} + # password: ${{ secrets.DOCKER_PASSWORD }} - name: Log in to GitHub Container Registry uses: docker/login-action@v3 @@ -79,7 +79,8 @@ jobs: contents: read env: - GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }} + GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # ${{ secrets.GHCR_TOKEN }} steps: - name: Checkout Git repository diff --git a/Makefile b/Makefile index facf911..6a41579 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -NAME := network-tools +NAME := conatainer-network-tools ARM_NAME := network-tools-arm TAG := dev