SquadJSDocker/.github/workflows/main.yml

32 lines
671 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-01-26 15:13:30 -06:00
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- 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
2023-03-06 16:27:25 -06:00
tags: "${{ vars.DOCKER_REGISTRY_URL }}/squadjs:testing"