Skip to content

Commit

Permalink
Initial Actions arm64 preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
ehfd authored Mar 22, 2024
1 parent 76ce901 commit f93ccde
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/container-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,27 @@ 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
with:
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:
Expand Down

0 comments on commit f93ccde

Please sign in to comment.