35 lines
869 B
YAML
35 lines
869 B
YAML
|
on:
|
||
|
push:
|
||
|
branches: ["dev"]
|
||
|
pull_request:
|
||
|
branches: ["dev"]
|
||
|
|
||
|
|
||
|
jobs:
|
||
|
docker:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: https://github.com/actions/checkout@v4
|
||
|
|
||
|
- name: Set up QEMU
|
||
|
uses: https://github.com/docker/setup-qemu-action@v3
|
||
|
|
||
|
- name: Set up Docker Buildx
|
||
|
uses: https://github.com/docker/setup-buildx-action@v3
|
||
|
|
||
|
- name: Login to GitHub Container Registry
|
||
|
uses: https://github.com/docker/login-action@v3
|
||
|
with:
|
||
|
registry: git.4o1x5.dev
|
||
|
username: ${{ github.USER }}
|
||
|
password: ${{ secrets.TOKEN }}
|
||
|
|
||
|
- name: Build and push
|
||
|
uses: docker/build-push-action@v5
|
||
|
with:
|
||
|
context: .
|
||
|
platforms: linux/amd64
|
||
|
push: true
|
||
|
tags: |
|
||
|
learning-pulse/web-client:dev
|