webcompile/.github/workflows/docker.yml

36 lines
783 B
YAML
Raw Normal View History

name: Docker
on:
2023-01-25 22:41:11 +05:30
push:
branches:
- 'master'
jobs:
2023-01-25 22:41:11 +05:30
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
2023-01-25 22:48:31 +05:30
username: ProjectSegfault
2023-01-25 22:41:11 +05:30
password: ${{ secrets.ACCESS_TOKEN }}
- name: 'Build:dockerimage'
uses: docker/build-push-action@v3
with:
2023-01-25 22:48:31 +05:30
tags: ghcr.io/projectsegfault/website:latest
2023-01-25 22:41:11 +05:30
context: "."
push: true
no-cache: true