From 2790a1410c046e1f49d37f2b763fa742ad539f72 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Wed, 27 Nov 2024 23:59:16 -0500 Subject: [PATCH] change Reese Arch Toolbox containerfile name to arch.containerfile --- .gitea/workflows/build.yaml | 2 +- .gitignore | 1 - .vscode/tasks.json | 17 +++++++++++++++++ infrastructure/graduated/fedora/arch-build.sh | 2 +- .../{Containerfile => arch.containerfile} | 0 5 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 .vscode/tasks.json rename infrastructure/graduated/fedora/{Containerfile => arch.containerfile} (100%) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index fde077c..e1a32d0 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -19,7 +19,7 @@ jobs: uses: https://github.com/docker/build-push-action@v5 with: context: ${{ gitea.workspace }}/infrastructure/graduated/fedora - file: ${{ gitea.workspace }}/infrastructure/graduated/fedora/Containerfile + file: ${{ gitea.workspace }}/infrastructure/graduated/fedora/arch.containerfile push: true tags: "gitea.reeseapps.com/services/arch-toolbox:latest,gitea.reeseapps.com/services/arch-toolbox:${{gitea.sha}}" no-cache: true \ No newline at end of file diff --git a/.gitignore b/.gitignore index 390a8ae..955dffc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ secrets/ venv/ tmp/ -.vscode/ Unsorted/ volumes/ \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..cef875e --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,17 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Build arch-toolbox", + "type": "shell", + "command": "./infrastructure/graduated/fedora/arch-build.sh", + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + } + ] +} \ No newline at end of file diff --git a/infrastructure/graduated/fedora/arch-build.sh b/infrastructure/graduated/fedora/arch-build.sh index a2e18ae..41a9e84 100755 --- a/infrastructure/graduated/fedora/arch-build.sh +++ b/infrastructure/graduated/fedora/arch-build.sh @@ -5,7 +5,7 @@ podman build \ --no-cache \ -t gitea.reeseapps.com/services/arch-toolbox:latest \ -t gitea.reeseapps.com/services/arch-toolbox:$(date +%s) \ - -f ./infrastructure/graduated/fedora/Containerfile + -f ./infrastructure/graduated/fedora/arch.containerfile # Stop the current arch toolbox podman container stop arch-toolbox-latest # Remove the old container diff --git a/infrastructure/graduated/fedora/Containerfile b/infrastructure/graduated/fedora/arch.containerfile similarity index 100% rename from infrastructure/graduated/fedora/Containerfile rename to infrastructure/graduated/fedora/arch.containerfile