diff --git a/.github/workflows/main-workflow.yml b/.github/workflows/main-workflow.yml index bc856c3..31ccc81 100644 --- a/.github/workflows/main-workflow.yml +++ b/.github/workflows/main-workflow.yml @@ -14,19 +14,31 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 + # 🔑 Login to DockerHub - name: Login to DockerHub uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + # 🔑 Login to Gitea Registry + - name: Login to Gitea Registry + uses: docker/login-action@v1 + with: + registry: gitea.p-lao.com + username: aleleba + password: ${{ secrets.GITEA_API_TOKEN }} + + # 🚀 Build and push to BOTH registries - name: Build and push uses: docker/build-push-action@v2 with: context: . push: true - tags: aleleba/vscode:latest platforms: linux/amd64,linux/arm64 + tags: | + aleleba/vscode:latest + gitea.p-lao.com/aleleba/vscode-server:latest - name: Trigger workflow in Gitea if: success() diff --git a/version.txt b/version.txt index 5365c9e..c0f5d08 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.2.15 +3.2.16