This commit is contained in:
@@ -6,11 +6,22 @@ jobs:
|
|||||||
Explore-Gitea-Actions:
|
Explore-Gitea-Actions:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install buildah
|
||||||
|
run: apt update && apt install -y buildah
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
- name: Set up Docker Buildx
|
||||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: List files in the repository
|
- name: Build and push
|
||||||
run: |
|
uses: docker/build-push-action@v6
|
||||||
ls ${{ gitea.workspace }}
|
with:
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
push: true
|
||||||
|
tags: evanespen/blog:latest
|
||||||
|
# - name: Build image
|
||||||
|
# run: buildah build -f Dockerfile -t blog
|
||||||
|
# - 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