diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 4b68eea..0aa6cfc 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -16,7 +16,7 @@ jobs: fetch-depth: 1 - name: Bump Version - uses: opspresso/action-builder@v0.1.7 + uses: opspresso/action-builder@v0.1.8 with: args: --version @@ -27,14 +27,23 @@ jobs: - run: npm run build - name: Release to GitHub - uses: opspresso/action-builder@v0.1.7 + uses: opspresso/action-builder@v0.1.8 with: args: --release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Build & Push to Docker Hub + uses: opspresso/action-builder@v0.1.8 + with: + args: --docker + env: + USERNAME: ${{ secrets.DOCKER_USERNAME }} + PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + LATEST: "true" + - name: Build & Push to AWS ECR - uses: opspresso/action-builder@v0.1.7 + uses: opspresso/action-builder@v0.1.8 with: args: --ecr env: @@ -42,12 +51,3 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_REGION: "ap-northeast-2" LATEST: "true" - - - name: Build & Push to Docker Hub - uses: opspresso/action-builder@v0.1.7 - with: - args: --docker - env: - USERNAME: ${{ secrets.DOCKER_USERNAME }} - PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - LATEST: "true"