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:
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
check-docker:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: admin/justin-leroy.fr
|
||||
submodules: recursive
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Show Docker version
|
||||
run: docker --version
|
||||
- name: Build and Push
|
||||
run: |
|
||||
docker build -t localhost:5000/mon-app:latest .
|
||||
docker push localhost:5000/mon-app:latest
|
||||
|
||||
Reference in New Issue
Block a user