From b30b350fe4578f299e747362e3571e376bb064d4 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Wed, 24 Apr 2024 11:37:47 -0600 Subject: [PATCH] Trying to build with github actions the building of arm arch. updating to version 3.0.38 --- .github/workflows/main-workflow.yml | 30 +++++++++++++++++++++++++++++ hooks/build | 2 -- version.txt | 2 +- 3 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/main-workflow.yml delete mode 100644 hooks/build diff --git a/.github/workflows/main-workflow.yml b/.github/workflows/main-workflow.yml new file mode 100644 index 0000000..eff5bcd --- /dev/null +++ b/.github/workflows/main-workflow.yml @@ -0,0 +1,30 @@ +name: Build and Push Docker Image ARM64 + +on: + push: + branches: [ master ] + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v2 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - + name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: Build and push + uses: docker/build-push-action@v2 + with: + context: . + push: true + tags: aleleba/vscode:latest + platforms: linux/arm64 \ No newline at end of file diff --git a/hooks/build b/hooks/build deleted file mode 100644 index 863bdcb..0000000 --- a/hooks/build +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t $IMAGE_NAME . \ No newline at end of file diff --git a/version.txt b/version.txt index 6d94c53..f47ccb6 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.0.37 \ No newline at end of file +3.0.38 \ No newline at end of file