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