diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 00000000..d226b452 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,19 @@ +name: Build and Push Docker Image + +on: + push: + branches: + - '*' + +jobs: + build-and-push: + runs-on: ubuntu-latest + defaults: + run: + working-directory: modern + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: Build and push Docker image + run: | + docker-compose build gcc12 diff --git a/modern/.env b/modern/.env index f6106d7d..4750b9b8 100644 --- a/modern/.env +++ b/modern/.env @@ -1,6 +1,6 @@ CONAN_VERSION=2.0.17 DOCKER_TAG=2.0.17 -DOCKER_USERNAME=conanio +DOCKER_USERNAME=hexagon # This versions are mandatory by 'conan-io/conan-center-index' CMAKE_VERSION_FULL=3.15.7 @@ -25,7 +25,7 @@ CLANG12_VERSION=12.0.0 CLANG13_VERSION=13.0.0 CLANG14_VERSION=14.0.0 -DISTRO=ubuntu16.04 -DISTRO_VERSION=16.04 +DISTRO=ubuntu18.04 +DISTRO_VERSION=18.04 PLATFORM=linux/amd64