|
@@ -27,8 +27,13 @@ jobs:
|
|
|
steps:
|
|
steps:
|
|
|
- name: Checkout repository
|
|
- name: Checkout repository
|
|
|
uses: actions/checkout@v4
|
|
uses: actions/checkout@v4
|
|
|
|
|
+
|
|
|
- name: Fetch commit time
|
|
- 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"
|
|
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 }}
|
|
- name: Log into registry ${{ env.REGISTRY }}
|
|
|
if: ${{ github.event_name != 'pull_request' }}
|
|
if: ${{ github.event_name != 'pull_request' }}
|
|
|
uses: docker/login-action@v3
|
|
uses: docker/login-action@v3
|
|
@@ -36,11 +41,13 @@ jobs:
|
|
|
registry: ${{ env.REGISTRY }}
|
|
registry: ${{ env.REGISTRY }}
|
|
|
username: ${{ github.actor }}
|
|
username: ${{ github.actor }}
|
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
+
|
|
|
- name: Extract container metadata
|
|
- name: Extract container metadata
|
|
|
id: meta
|
|
id: meta
|
|
|
uses: docker/metadata-action@v5
|
|
uses: docker/metadata-action@v5
|
|
|
with:
|
|
with:
|
|
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
|
|
|
|
+
|
|
|
- name: Build and push Ubuntu ${{ matrix.os_version }} container image
|
|
- name: Build and push Ubuntu ${{ matrix.os_version }} container image
|
|
|
uses: docker/build-push-action@v5
|
|
uses: docker/build-push-action@v5
|
|
|
with:
|
|
with:
|