Run docker commands directly
Build website container / Build image (push) Failing after 6s
Details
Build website container / Build image (push) Failing after 6s
Details
This commit is contained in:
parent
9ef3e44252
commit
05d70945d3
|
@ -15,8 +15,6 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
|
@ -24,11 +22,7 @@ jobs:
|
|||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: |
|
||||
Mathis/namesny-com:latest
|
||||
Mathis/namesny-com:${{ gitea.sha }}
|
||||
run: |
|
||||
docker build -t ${REGISTRY}/${{ gitea.actor }}${IMAGE_NAME}:${{ gitea.sha }} -t ${REGISTRY}/${{ gitea.actor }}${IMAGE_NAME}:latest .
|
||||
docker push
|
||||
|
Loading…
Reference in New Issue