Skip to content

Merge pull request #11552 from KratosMultiphysics/ci/update-actions-v2 #10

Merge pull request #11552 from KratosMultiphysics/ci/update-actions-v2

Merge pull request #11552 from KratosMultiphysics/ci/update-actions-v2 #10

name: Build docker image wheelbuilder-linux
on:
push:
branches:
- 'master'
paths:
- 'scripts/docker_files/docker_file_wheelbuilder_linux/*'
- '.github/workflows/build_docker_image_wheelbuilder_linux.yml'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build scripts/docker_files/docker_file_wheelbuilder_linux/ --tag kratosmultiphysics/kratos-wheelbuilder-linux
- name: Docker Login
uses: azure/docker-login@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Publish the Docker image
run: docker push kratosmultiphysics/kratos-wheelbuilder-linux