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