Шеметов Даниил. Технология SEQ-MPI. Повышение контраста. Вариант 23. #101
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: push: branches: - master paths: - 'docker/**' - '.github/workflows/docker.yml' pull_request: paths: - 'docker/**' - '.github/workflows/docker.yml' workflow_dispatch:permissions: contents: read packages: writejobs: build-and-push: name: Build & Push Docker Image runs-on: ubuntu-latest if: github.repository == 'learning-process/parallel_programming_course' steps: - name: Check out code uses: actions/checkout@v5 - name: Set up QEMU uses: docker/setup-qemu-action@v3 with: platforms: linux/amd64,linux/arm64 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Log in to GHCR if: github.event_name == 'push' uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.DOCKER_TOKEN }} - name: Build and push multi-arch image uses: docker/build-push-action@v6 with: context: . file: ./docker/ubuntu.Dockerfile platforms: linux/amd64,linux/arm64 push: ${{ github.ref == 'refs/heads/master' }} tags: ghcr.io/learning-process/ppc-ubuntu:1.1 | ||