Add Dockerfile
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2m13s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2m13s
This commit is contained in:
@@ -16,8 +16,6 @@ jobs:
|
|||||||
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: DEBUG
|
|
||||||
run: ls
|
|
||||||
- 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:
|
||||||
@@ -26,16 +24,11 @@ jobs:
|
|||||||
pull: true
|
pull: true
|
||||||
no-cache: true
|
no-cache: true
|
||||||
tags: "git.vanespen.dev/evanespen/blog:latest"
|
tags: "git.vanespen.dev/evanespen/blog:latest"
|
||||||
# - name: Build and push
|
- run: export GIT_TOKEN=${{ env.TOKEN }}
|
||||||
# uses: docker/build-push-action@v6
|
- run: export GIT_REPO=https://git.vanespen.dev/blog
|
||||||
# with:
|
- name: Setup argocd
|
||||||
# push: true
|
run: |
|
||||||
# tags: evanespen/blog:latest
|
wget https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.4.20/argocd-autopilot-linux-amd64.tar.gz \
|
||||||
# - name: Build image
|
&& tar xzvf argocd-autopilot-linux-amd64.tar.gz \
|
||||||
# run: buildah build -f Dockerfile -t blog
|
&& argocd-autopilot-linux-amd64 repo bootstrap
|
||||||
# - name: Log in to registry
|
|
||||||
# uses: docker/login-action@v3
|
|
||||||
# with:
|
|
||||||
# registry: ${{ env.GITEA_DOMAIN }}
|
|
||||||
# username: ${{ env.GITEA_REGISTRY_USER }}
|
|
||||||
# password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user