Skip to content

test(cache): 관리자 무효화 엔드포인트의 캐시 회귀 테스트 추가 (#445) #127

test(cache): 관리자 무효화 엔드포인트의 캐시 회귀 테스트 추가 (#445)

test(cache): 관리자 무효화 엔드포인트의 캐시 회귀 테스트 추가 (#445) #127

Workflow file for this run

name: Docker CI
on:
push:
branches:
- main
- deploy
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/apptive-game-team/arcane-casters-game
tags: |
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/deploy' }}
type=raw,value=dev,enable=${{ github.ref == 'refs/heads/main' }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max