This commit is contained in:
parent
87c84fd0a8
commit
18ceef8351
@ -4,18 +4,18 @@ name: Deploy App to Docker
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main # Trigger on push to the main branch
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu:latest # Use a fresh Ubuntu image to run the job
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2 # Checkout the repository's code to the runner
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- 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:
|
||||
version: 'latest'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user