diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index 84987ab9..62c3017b 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -2,21 +2,21 @@ name: Build CI on: push: - branches: [ 'main' ] - tags: [ 'v*' ] + branches: ["main"] + tags: ["v*"] pull_request: - branches: [ 'main' ] + branches: ["main"] -jobs: +jobs: examples: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v5 - name: Docker meta id: docker_meta - uses: docker/metadata-action@v3.3.0 + uses: docker/metadata-action@v5.8.0 with: images: ghcr.io/${{ github.repository_owner }}/examples labels: | @@ -32,14 +32,14 @@ jobs: - name: Login to ghcr.io if: github.event_name != 'pull_request' - uses: docker/login-action@v1.9.0 + uses: docker/login-action@v3.5.0 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Docker build - uses: docker/build-push-action@v2.5.0 + uses: docker/build-push-action@v6.18.0 with: context: ./docker/ tags: ${{ steps.docker_meta.outputs.tags }}