From 98c20fbcd9f16de3067a992d66b187b2dfe6f9ee Mon Sep 17 00:00:00 2001 From: nullday Date: Tue, 10 Sep 2024 00:06:15 +0800 Subject: [PATCH] Fix --- .github/standard-build.yml | 23 ----------------------- .github/workflows/standard-build.yml | 2 +- 2 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 .github/standard-build.yml diff --git a/.github/standard-build.yml b/.github/standard-build.yml deleted file mode 100644 index 5c187d1..0000000 --- a/.github/standard-build.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Build and Push Image -on: - push: - branches: - - main -jobs: - build-and-push: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Login to OCIR - uses: docker/login-action@v3 - with: - registry: ${{ secrets.OCIR_REGISTRY }} - username: ${{ secrets.OCIR_USERNAME }} - password: ${{ secrets.OCIR_PASSWORD }} - - name: Build and push Docker image - uses: docker/build-push-action@v6 - with: - context: workers/standard - push: true - tags: ${{ secrets.OCIR_REGISTRY }}/sastandard:latest \ No newline at end of file diff --git a/.github/workflows/standard-build.yml b/.github/workflows/standard-build.yml index 608e04b..5c187d1 100644 --- a/.github/workflows/standard-build.yml +++ b/.github/workflows/standard-build.yml @@ -20,4 +20,4 @@ jobs: with: context: workers/standard push: true - tags: ${{ secrets.OCIR_HOME}}/sastandard:latest \ No newline at end of file + tags: ${{ secrets.OCIR_REGISTRY }}/sastandard:latest \ No newline at end of file