Skip to content

Commit

Permalink
add docker workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
akisblack committed Aug 1, 2023
1 parent 25768c5 commit b4a905a
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Docker

on:
push:
branches:
- "master"

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: akisblack
password: ${{ secrets.ACCESS_TOKEN }}

- name: "Build:dockerimage"
uses: docker/build-push-action@v3
with:
tags: ghcr.io/akisblack/website:latest
context: "."
push: true
no-cache: true

0 comments on commit b4a905a

Please sign in to comment.