Continue testing actions
This commit is contained in:
@@ -21,13 +21,13 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4.1.1
|
||||||
|
|
||||||
- name: Prepare the container
|
- name: Prepare the container
|
||||||
run: curl -fsSL https://get.docker.com -o get-docker.sh && sh ./get-docker.sh
|
run: curl -fsSL https://get.docker.com -o get-docker.sh && sh ./get-docker.sh
|
||||||
|
|
||||||
- name: Log in to registry
|
- name: Log in to registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3.0.0
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ gitea.actor }}
|
username: ${{ gitea.actor }}
|
||||||
@@ -35,14 +35,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Extract metadata for registry
|
- name: Extract metadata for registry
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5.5.0
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v5.1.0
|
uses: docker/build-push-action@v5
|
||||||
# env:
|
|
||||||
# ACTIONS_RUNTIME_TOKEN: ""
|
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
Reference in New Issue
Block a user