diff --git a/.github/workflows/dispatch_build_dev.yaml b/.github/workflows/dispatch_build_dev.yaml index 99212c5..7d83ed7 100644 --- a/.github/workflows/dispatch_build_dev.yaml +++ b/.github/workflows/dispatch_build_dev.yaml @@ -20,7 +20,7 @@ jobs: - name: set version with current date id: versioning run: | - echo "VERSION=$(cat src/VERSION | cut -c 2-).${{ env.TIME }}" >> $GITHUB_OUTPUT + echo "VERSION=$(sed 's/v//' < src/VERSION).${{ env.TIME }}" >> $GITHUB_OUTPUT - name: Notice when job fails if: failure() uses: 8398a7/action-slack@v3.2.0 @@ -61,7 +61,6 @@ jobs: uses: docker/build-push-action@v4 with: context: . - platform: ${{ env.ARCH }} push: true tags: pyengine/${{ env.SERVICE }}:${{ env.VERSION }} diff --git a/.github/workflows/push_build_dev.yaml b/.github/workflows/push_build_dev.yaml new file mode 100644 index 0000000..334eaa0 --- /dev/null +++ b/.github/workflows/push_build_dev.yaml @@ -0,0 +1,13 @@ +name: "[Push] Build dev" + +on: + workflow_dispatch: + +jobs: + none: + run-on: ubuntu-latest + steps: + - name: none + run: echo "This is deprecated." + +# deprecated workflow