website/.github/workflows/docker-dev.yml

35 lines
920 B
YAML
Raw Normal View History

2023-01-25 19:11:11 +02:00
name: Docker dev
2022-12-06 17:29:47 +02:00
on:
2023-02-03 19:55:33 +02:00
push:
branches:
- "dev"
2022-12-06 17:29:47 +02:00
jobs:
2023-02-03 19:55:33 +02:00
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
2023-01-25 19:11:11 +02:00
2023-02-03 19:55:33 +02:00
- name: "Build:checkout"
uses: actions/checkout@v3
2023-01-25 19:11:11 +02:00
2023-02-03 19:55:33 +02:00
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ProjectSegfault
password: ${{ secrets.ACCESS_TOKEN }}
2023-01-25 19:11:11 +02:00
2023-02-03 19:55:33 +02:00
- name: "Build:dockerimage"
uses: docker/build-push-action@v3
with:
tags: ghcr.io/projectsegfault/website:dev
context: "."
push: true
no-cache: true