mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-10-13 09:49:24 -06:00
Compare commits
2 Commits
0ecbe1c0ad
...
cfe27a3e86
Author | SHA1 | Date | |
---|---|---|---|
cfe27a3e86
|
|||
bfeb1e8a08
|
14
.github/workflows/main-workflow.yml
vendored
14
.github/workflows/main-workflow.yml
vendored
@@ -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:latest
|
||||
|
||||
- name: Trigger workflow in Gitea
|
||||
if: success()
|
||||
|
@@ -1 +1 @@
|
||||
3.2.15
|
||||
3.2.17
|
||||
|
Reference in New Issue
Block a user