test build container
All checks were successful
Build and Push Docker / build (push) Successful in 17s
All checks were successful
Build and Push Docker / build (push) Successful in 17s
This commit is contained in:
@@ -1,20 +1,18 @@
|
|||||||
name: Docker Version Check
|
name: Build and Push Docker
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-docker:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
|
||||||
repository: admin/justin-leroy.fr
|
|
||||||
submodules: recursive
|
|
||||||
fetch-depth: 1
|
|
||||||
|
|
||||||
- name: Show Docker version
|
- name: Build and Push
|
||||||
run: docker --version
|
run: |
|
||||||
|
docker build -t localhost:5000/mon-app:latest .
|
||||||
|
docker push localhost:5000/mon-app:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user