diff --git a/.github/workflows/image-push.yml b/.github/workflows/image-push.yml index b0d14d76b..958eadf47 100644 --- a/.github/workflows/image-push.yml +++ b/.github/workflows/image-push.yml @@ -20,8 +20,10 @@ jobs: steps: - - name: Checkout code - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + + - name: Checkout repository + uses: actions/checkout@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 @@ -39,4 +41,10 @@ jobs: file: ${{ matrix.dockerfile }} push: true tags: ${{ matrix.image_name }}:latest + build-args: | + VUE_APP_URL=${{ secrets.VUE_APP_URL }} + VUE_APP_API_URL=${{ secrets.VUE_APP_API_URL }} + NUXT_IMGUR_CLIENT_ID=${{ secrets.NUXT_IMGUR_CLIENT_ID }} + NUXT_IMGUR_CLIENT_SECRET=${{ secrets.NUXT_IMGUR_CLIENT_SECRET }} +