From 67d191d4b49b70b663206b77c0c1eb9148fde626 Mon Sep 17 00:00:00 2001 From: Sergey Ladanov Date: Wed, 20 Sep 2023 08:17:01 +0300 Subject: [PATCH] Update files --- .github/workflows/build_image.yml | 2 +- Action.Dockerfile | 1 - Image.Dockerfile => Dockerfile | 0 README.md | 5 ++--- action.yml | 2 +- 5 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 Action.Dockerfile rename Image.Dockerfile => Dockerfile (100%) diff --git a/.github/workflows/build_image.yml b/.github/workflows/build_image.yml index 7c0a024..6a24ad8 100644 --- a/.github/workflows/build_image.yml +++ b/.github/workflows/build_image.yml @@ -36,7 +36,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . - file: Image.Dockerfile + file: Dockerfile push: true tags: ${{ steps.meta.outputs.tags }} platforms: linux/amd64,linux/arm64 diff --git a/Action.Dockerfile b/Action.Dockerfile deleted file mode 100644 index 9d18eca..0000000 --- a/Action.Dockerfile +++ /dev/null @@ -1 +0,0 @@ -FROM sergeyladanov/platformio:v3 diff --git a/Image.Dockerfile b/Dockerfile similarity index 100% rename from Image.Dockerfile rename to Dockerfile diff --git a/README.md b/README.md index c09cbb2..69d6a16 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## Пример настройки CI/CD +## Usage ``` @@ -10,7 +10,6 @@ jobs: - uses: actions/checkout@v3 - name: Build - uses: embedd-actions/platformio-ci@v3 - + uses: embedd-actions/platformio-ci@v1 ``` diff --git a/action.yml b/action.yml index a4840b4..900d8db 100644 --- a/action.yml +++ b/action.yml @@ -2,7 +2,7 @@ name: 'Platformio build' description: 'Building platformio projects' runs: using: 'docker' - image: 'Action.Dockerfile' + image: 'docker://sergeyladanov/platformio:v1' args: - pio - run