diff --git a/.github/workflows/Dockerfile b/.github/workflows/Dockerfile index e9ad655..6c92dbf 100644 --- a/.github/workflows/Dockerfile +++ b/.github/workflows/Dockerfile @@ -1,31 +1,38 @@ ARG IMAGE FROM ${IMAGE} + ENV DEBIAN_FRONTEND=noninteractive + RUN apt-get update && apt-get install -y software-properties-common && \ add-apt-repository -y ppa:ubuntu-support-team/meson + RUN apt-get update && apt-get install -y --no-install-recommends \ - build-essential \ - debhelper \ - devscripts \ - meson \ - pkg-config \ - libstdc++6 \ - libgbm-dev \ - libdrm-dev \ - libx11-6 \ - libx11-dev \ - libx11-xcb1 \ - libx11-xcb-dev \ - libxcb-dri2-0 \ - libxcb-dri2-0-dev \ - libxdamage1 \ - libxdamage-dev \ - libxext6 \ - libxext-dev \ - libxfixes3 \ - libxfixes-dev \ - libwayland-client0 \ - libwayland-dev && \ - rm -rf /var/lib/apt/lists/* + build-essential \ + debhelper \ + devscripts \ + meson \ + pkg-config \ + libstdc++6 \ + libgbm-dev \ + libdrm-dev \ + libx11-6 \ + libx11-dev \ + libx11-xcb1 \ + libx11-xcb-dev \ + libxcb-dri2-0 \ + libxcb-dri2-0-dev \ + libxdamage1 \ + libxdamage-dev \ + libxext6 \ + libxext-dev \ + libxfixes3 \ + libxfixes-dev \ + libwayland-client0 \ + libwayland-dev && \ + && apt-get clean autoclean --yes \ + && apt-get autoremove --yes \ + && rm -rf /var/cache/apt/archives* /var/lib/apt/lists/* + COPY . /src/ + WORKDIR /src/ diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index 0a8fa5f..de54cfa 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -20,22 +20,22 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: linux/arm64 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Cache Docker layers - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: .github/workflows/ tags: ${{ matrix.image }}:build - build-args: IMAGE=${{ matrix.image }}:20.04 + build-args: IMAGE=${{ matrix.image }}:22.04 cache-from: type=gha,scope=${{ matrix.image }} cache-to: type=gha,scope=${{ matrix.image }},mode=max load: true @@ -51,7 +51,7 @@ jobs: - name: Get commit hash id: get_commit_hash - uses: pr-mpt/actions-commit-hash@v2 + uses: prompt/actions-commit-hash@v3 - name: Release uses: softprops/action-gh-release@v1