mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-10-13 09:49:24 -06:00
Compare commits
3 Commits
3.2.14
...
cfe27a3e86
Author | SHA1 | Date | |
---|---|---|---|
cfe27a3e86
|
|||
bfeb1e8a08
|
|||
0ecbe1c0ad
|
40
.github/workflows/main-workflow.yml
vendored
40
.github/workflows/main-workflow.yml
vendored
@@ -8,23 +8,43 @@ jobs:
|
|||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
- name: Checkout
|
||||||
name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
-
|
|
||||||
name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
-
|
|
||||||
name: Login to DockerHub
|
# 🔑 Login to DockerHub
|
||||||
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
-
|
|
||||||
name: Build and push
|
# 🔑 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
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: aleleba/vscode:latest
|
platforms: linux/amd64,linux/arm64
|
||||||
platforms: linux/amd64,linux/arm64
|
tags: |
|
||||||
|
aleleba/vscode:latest
|
||||||
|
gitea.p-lao.com/aleleba/vscode:latest
|
||||||
|
|
||||||
|
- name: Trigger workflow in Gitea
|
||||||
|
if: success()
|
||||||
|
run: |
|
||||||
|
curl -X POST \
|
||||||
|
-H "Authorization: token ${{ secrets.GITEA_API_TOKEN }}" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
https://gitea.p-lao.com/api/v1/repos/aleleba/vscode-server/actions/workflows/main-workflow.yml/dispatches \
|
||||||
|
-d '{"ref":"master","inputs":{"image":"gitea.p-lao.com/aleleba/vscode-server:latest"}}'
|
||||||
|
@@ -1 +1 @@
|
|||||||
3.2.14
|
3.2.17
|
||||||
|
Reference in New Issue
Block a user