Skip to content

docs: update README.md #33

docs: update README.md

docs: update README.md #33

Workflow file for this run

name: Build Image
on:
push:
branches:
- main
- feat/github-actions-build-image
jobs:
duplicate_guard:
runs-on: self-hosted
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@master
with:
concurrent_skipping: "never"
skip_after_successful_duplicate: "true"
paths_ignore: '["**/README.md", "**/docs/**"]'
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'
docker-build:
needs: duplicate_guard
if: ${{ needs.duplicate_guard.outputs.should_skip != 'true' }}
runs-on: self-hosted
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
# Original code from https://blog.outsider.ne.kr/1531
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: techeer-f5
password: ${{ secrets.GH_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
id: docker_build
with:
context: .
file: ./Dockerfile
push: true
tags: |
ghcr.io/techeer-f5/jmt-monster-frontend:latest