diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index 265e624..7040cc3 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -10,8 +10,7 @@ jobs: runs-on: 'priviliged' steps: - name: Install Docker - run: | - rm $(which docker) && curl -fsSL https://get.docker.com | sh + run: "rm $(which docker) && curl -fsSL https://get.docker.com | sh" - name: Set up QEMU uses: 'https://git.euph.dev/actions/docker-setup-qemu@v3' - name: Setup Buildx @@ -47,22 +46,21 @@ jobs: language: lua steps: - name: Install Docker - run: | - rm $(which docker) && curl -fsSL https://get.docker.com | sh + run: "rm $(which docker) && curl -fsSL https://get.docker.com | sh" - name: Set up QEMU - uses: 'https://git.euph.dev/actions/docker-setup-qemu@v3' + uses: 'https://git.euph.dev/actions/docker-setup-qemu@v3' - name: Setup Buildx - uses: 'https://git.euph.dev/actions/docker-setup-buildx@v3' + uses: 'https://git.euph.dev/actions/docker-setup-buildx@v3' - name: Login to Registry - uses: 'https://git.euph.dev/actions/docker-login@v3' - with: + uses: 'https://git.euph.dev/actions/docker-login@v3' + with: registry: git.euph.dev username: ${{ secrets.DEPLOY_USER }} password: ${{ secrets.DEPLOY_SECRET }} - name: Build and push ${{ matrix.language }} image - id: build_act_${{ matrix.language }} - uses: 'https://git.euph.dev/actions/docker-build-push@v5' - with: + id: build_act_${{ matrix.language }} + uses: 'https://git.euph.dev/actions/docker-build-push@v5' + with: context: "{{defaultContext}}:images/actions/${{ matrix.language }}" push: true build-args: PACKAGE_VERSION=${{ matrix.version }}