This commit is contained in:
parent
87c84fd0a8
commit
18ceef8351
@ -4,18 +4,18 @@ name: Deploy App to Docker
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main # Trigger on push to the main branch
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu:latest # Use a fresh Ubuntu image to run the job
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2 # Checkout the repository's code to the runner
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up Docker
|
- name: Set up Docker
|
||||||
uses: docker/setup-buildx-action@v1 # Set up Docker Buildx, which is used for building images
|
uses: docker/setup-buildx-action@v1
|
||||||
with:
|
with:
|
||||||
version: 'latest'
|
version: 'latest'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user