From f93ccded7760a0e2125276376bfbbc9983b84634 Mon Sep 17 00:00:00 2001 From: Seungmin Kim <8457324+ehfd@users.noreply.github.com> Date: Fri, 22 Mar 2024 19:13:55 +0900 Subject: [PATCH] Initial Actions arm64 preparation --- .github/workflows/container-publish.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/container-publish.yml b/.github/workflows/container-publish.yml index e975e7f..5cc7db5 100644 --- a/.github/workflows/container-publish.yml +++ b/.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: