浏览代码

Initial Actions arm64 preparation

Seungmin Kim 1 年之前
父节点
当前提交
f93ccded77
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      .github/workflows/container-publish.yml

+ 7 - 0
.github/workflows/container-publish.yml

@@ -27,8 +27,13 @@ jobs:
     steps:
     - name: Checkout repository
       uses: actions/checkout@v4
+
     - name: Fetch commit time
       run: echo "COMMIT_TIME_GIT=$(TZ=UTC git show -s --format='%cd' --date=format-local:'%Y%m%d%H%M%S')" >> "$GITHUB_ENV"
+
+    - name: Set up QEMU
+      uses: docker/setup-qemu-action@v3
+
     - name: Log into registry ${{ env.REGISTRY }}
       if: ${{ github.event_name != 'pull_request' }}
       uses: docker/login-action@v3
@@ -36,11 +41,13 @@ jobs:
         registry: ${{ env.REGISTRY }}
         username: ${{ github.actor }}
         password: ${{ secrets.GITHUB_TOKEN }}
+
     - name: Extract container metadata
       id: meta
       uses: docker/metadata-action@v5
       with:
         images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
+
     - name: Build and push Ubuntu ${{ matrix.os_version }} container image
       uses: docker/build-push-action@v5
       with: