From 468d914fddc388b5f735364fa58e192cab2f04bc Mon Sep 17 00:00:00 2001 From: Ryosuke Date: Sun, 18 Dec 2022 22:38:31 +0000 Subject: [PATCH] =?UTF-8?q?refactor:=20mod-downloader=20=E3=82=92=20docker?= =?UTF-8?q?-images=20=E3=83=87=E3=82=A3=E3=83=AC=E3=82=AF=E3=83=88?= =?UTF-8?q?=E3=83=AA=E4=BB=A5=E4=B8=8B=E3=81=AB=E7=A7=BB=E5=8B=95=E3=81=99?= =?UTF-8?q?=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/mod_downloader.yaml | 8 ++++---- {util-scripts => docker-images}/mod-downloader/Dockerfile | 0 {util-scripts => docker-images}/mod-downloader/go.mod | 0 {util-scripts => docker-images}/mod-downloader/go.sum | 0 {util-scripts => docker-images}/mod-downloader/main.go | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename {util-scripts => docker-images}/mod-downloader/Dockerfile (100%) rename {util-scripts => docker-images}/mod-downloader/go.mod (100%) rename {util-scripts => docker-images}/mod-downloader/go.sum (100%) rename {util-scripts => docker-images}/mod-downloader/main.go (100%) diff --git a/.github/workflows/mod_downloader.yaml b/.github/workflows/mod_downloader.yaml index 575640c5a..47d5f3ef5 100644 --- a/.github/workflows/mod_downloader.yaml +++ b/.github/workflows/mod_downloader.yaml @@ -3,7 +3,7 @@ on: push: paths: - ".github/workflows/mod_downloader.yaml" - - "util-scripts/mod-downloader/**" + - "docker-images/mod-downloader/**" env: IMAGE: ghcr.io/giganticminecraft/mod-downloader @@ -23,7 +23,7 @@ jobs: uses: golangci/golangci-lint-action@v3 with: version: latest - working-directory: util-scripts/mod-downloader + working-directory: docker-images/mod-downloader build-image: name: Build docker image (and publish on master) @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-20.04 defaults: run: - working-directory: util-scripts/mod-downloader + working-directory: docker-images/mod-downloader steps: - name: checkout uses: actions/checkout@v3 @@ -60,7 +60,7 @@ jobs: id: docker_build uses: docker/build-push-action@v3 with: - context: ./util-scripts/mod-downloader/ + context: ./docker-images/mod-downloader/ builder: ${{ steps.buildx.outputs.name }} push: ${{ github.ref == 'refs/heads/main' }} tags: ${{ steps.meta.outputs.tags }} diff --git a/util-scripts/mod-downloader/Dockerfile b/docker-images/mod-downloader/Dockerfile similarity index 100% rename from util-scripts/mod-downloader/Dockerfile rename to docker-images/mod-downloader/Dockerfile diff --git a/util-scripts/mod-downloader/go.mod b/docker-images/mod-downloader/go.mod similarity index 100% rename from util-scripts/mod-downloader/go.mod rename to docker-images/mod-downloader/go.mod diff --git a/util-scripts/mod-downloader/go.sum b/docker-images/mod-downloader/go.sum similarity index 100% rename from util-scripts/mod-downloader/go.sum rename to docker-images/mod-downloader/go.sum diff --git a/util-scripts/mod-downloader/main.go b/docker-images/mod-downloader/main.go similarity index 100% rename from util-scripts/mod-downloader/main.go rename to docker-images/mod-downloader/main.go