mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-09 01:22:25 +05:30
35 lines
920 B
YAML
35 lines
920 B
YAML
name: Docker dev
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "dev"
|
|
|
|
jobs:
|
|
build:
|
|
name: "Build"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v2
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v2
|
|
|
|
- name: "Build:checkout"
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Log in to the Container registry
|
|
uses: docker/login-action@v2
|
|
with:
|
|
registry: ghcr.io
|
|
username: ProjectSegfault
|
|
password: ${{ secrets.ACCESS_TOKEN }}
|
|
|
|
- name: "Build:dockerimage"
|
|
uses: docker/build-push-action@v3
|
|
with:
|
|
tags: ghcr.io/projectsegfault/website:dev
|
|
context: "."
|
|
push: true
|
|
no-cache: true
|