Testing
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 29s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 29s
This commit is contained in:
@@ -6,29 +6,30 @@ jobs:
|
|||||||
Explore-Gitea-Actions:
|
Explore-Gitea-Actions:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Login to container registry
|
# - name: Login to container registry
|
||||||
uses: https://github.com/docker/login-action@v3
|
# uses: https://github.com/docker/login-action@v3
|
||||||
with:
|
# with:
|
||||||
registry: https://git.vanespen.dev
|
# registry: https://git.vanespen.dev
|
||||||
username: ${{ secrets.USERNAME }}
|
# username: ${{ secrets.USERNAME }}
|
||||||
password: ${{ secrets.PASSWORD }}
|
# password: ${{ secrets.PASSWORD }}
|
||||||
- name: Check out repository code
|
# - name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
# uses: actions/checkout@v4
|
||||||
- name: Set up Docker Buildx
|
# - name: Set up Docker Buildx
|
||||||
uses: https://github.com/docker/setup-buildx-action@v3
|
# uses: https://github.com/docker/setup-buildx-action@v3
|
||||||
- name: Build and push
|
# - name: Build and push
|
||||||
uses: https://github.com/docker/build-push-action@v6
|
# uses: https://github.com/docker/build-push-action@v6
|
||||||
with:
|
# with:
|
||||||
context: .
|
# context: .
|
||||||
push: true
|
# push: true
|
||||||
pull: true
|
# pull: true
|
||||||
no-cache: true
|
# no-cache: true
|
||||||
tags: "git.vanespen.dev/evanespen/blog:latest"
|
# tags: "git.vanespen.dev/evanespen/blog:latest"
|
||||||
- run: export GIT_TOKEN=${{ env.TOKEN }}
|
- run: export GIT_TOKEN=${{ env.TOKEN }}
|
||||||
- run: export GIT_REPO=https://git.vanespen.dev/blog
|
- run: export GIT_REPO=https://git.vanespen.dev/blog
|
||||||
- name: Setup argocd
|
- name: Setup argocd
|
||||||
run: |
|
run: |
|
||||||
wget https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.4.20/argocd-autopilot-linux-amd64.tar.gz \
|
wget https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.4.20/argocd-autopilot-linux-amd64.tar.gz \
|
||||||
&& tar xzvf argocd-autopilot-linux-amd64.tar.gz \
|
&& tar xzvf argocd-autopilot-linux-amd64.tar.gz \
|
||||||
&& argocd-autopilot-linux-amd64 repo bootstrap
|
&& ls
|
||||||
|
# && argocd-autopilot-linux-amd64 repo bootstrap
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user