SquadJSDocker/.github/workflows/main.yml

39 lines
813 B
YAML
Raw Normal View History

2023-01-26 15:13:30 -06:00
name: Docker Image CI
on:
2023-02-15 06:57:57 -06:00
workflow_dispatch:
2023-03-20 12:19:01 -05:00
push:
branches:
- Development
2023-01-26 15:13:30 -06:00
jobs:
build:
runs-on: self-hosted
steps:
2023-04-03 10:47:18 -05:00
- name: checkout repo and submodules
uses: actions/checkout@v3
with:
submodules: true
2023-01-26 15:13:30 -06:00
- name: Login To Registry
uses: docker/login-action@v2
with:
registry: "${{ vars.DOCKER_REGISTRY_URL }}"
username: "${{ secrets.DOCKER_REGISTRY_USER }}"
password: "${{ secrets.DOCKER_REGISTRY_PASSWORD }}"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build SquadJS Image
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
push: true
2024-09-25 15:46:53 -05:00
no-cache: true
2023-03-20 12:19:01 -05:00
tags: "${{ vars.DOCKER_REGISTRY_URL }}/squadjs:latest"