From a7ccaddcd8055b23348310c6d3c2c561f2437a57 Mon Sep 17 00:00:00 2001 From: Marc De Graef Date: Tue, 12 Dec 2023 10:19:35 -0500 Subject: [PATCH] Create ubuntu-amd64.yml --- .github/workflows/ubuntu-amd64.yml | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/ubuntu-amd64.yml diff --git a/.github/workflows/ubuntu-amd64.yml b/.github/workflows/ubuntu-amd64.yml new file mode 100644 index 0000000..2bf245e --- /dev/null +++ b/.github/workflows/ubuntu-amd64.yml @@ -0,0 +1,35 @@ +name: Docker Image CI Ubuntu AMD64 + +on: + push: + branches: [ "develop" ] + pull_request: + branches: [ "develop" ] + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v3 + - + name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - + name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: Build and push + uses: docker/build-push-action@v5 + with: + context: . + push: true + platforms: linux/amd64 + tags: ${{ secrets.DOCKERHUB_USERNAME }}/emsoft_SDK:linux-amd64-latest