Skip to content

버킷 이전 (#135) #21

버킷 이전 (#135)

버킷 이전 (#135) #21

Workflow file for this run

name: Deploy-prod
on:
push:
branches: [main]
jobs:
deploy:
name: deploy prod
runs-on: ubuntu-24.04-arm
env:
IMAGE_TAG: ${{ github.run_number }}
OCIR_REPOSITORY: wacruit-prod/wacruit-server
OCIR_REGISTRY: yny.ocir.io
OCIR_NAMESPACE: ax1dvc8vmenm
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to OCIR
uses: docker/login-action@v2
with:
registry: ${{ env.OCIR_REGISTRY }}
username: ax1dvc8vmenm/members/waffle-deployer
password: ${{ secrets.OCI_PASSWORD }}
- name: Build and push image
id: build-image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
platforms: linux/arm64
tags: ${{ env.OCIR_REGISTRY }}/${{ env.OCIR_NAMESPACE }}/${{ env.OCIR_REPOSITORY }}:${{ env.IMAGE_TAG }}
build-args: |
ENV=prod