Skip to content

Commit

Permalink
Update systemd image tag formats in workflow and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
cruizba committed Dec 29, 2024
1 parent a124dc1 commit 69681a9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-push-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
build-args: |
UBUNTU_VERSION=${{ matrix.ubuntu_version }}
tags: |
cruizba/ubuntu-dind:${{ matrix.ubuntu_name }}-${{ env.CURRENT_VERSION }}-systemd
cruizba/ubuntu-dind:${{ matrix.ubuntu_name }}-${{ env.CURRENT_VERSION }}-systemd-r${{ env.BUILD_NUMBER }}
cruizba/ubuntu-dind:${{ matrix.ubuntu_name }}-systemd-${{ env.CURRENT_VERSION }}
cruizba/ubuntu-dind:${{ matrix.ubuntu_name }}-systemd-${{ env.CURRENT_VERSION }}-r${{ env.BUILD_NUMBER }}
cruizba/ubuntu-dind:${{ matrix.ubuntu_name }}-systemd-latest
${{ matrix.ubuntu_version == env.LATEST_UBUNTU_VERSION && 'cruizba/ubuntu-dind:systemd-latest' || '' }}
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ cruizba/ubuntu-dind:jammy-<docker-version>
cruizba/ubuntu-dind:noble-<docker-version>

# Systemd images
cruizba/ubuntu-dind:focal-<docker-version>-systemd
cruizba/ubuntu-dind:jammy-<docker-version>-systemd
cruizba/ubuntu-dind:noble-<docker-version>-systemd
cruizba/ubuntu-dind:focal-systemd-<docker-version>
cruizba/ubuntu-dind:jammy-systemd-<docker-version>
cruizba/ubuntu-dind:noble-systemd-<docker-version>
```

### Fixed images and revision
Expand All @@ -201,9 +201,9 @@ cruizba/ubuntu-dind:jammy-<docker-version>-r<revision>
cruizba/ubuntu-dind:noble-<docker-version>-r<revision>

# Systemd images
cruizba/ubuntu-dind:focal-<docker-version>-systemd-r<revision>
cruizba/ubuntu-dind:jammy-<docker-version>-systemd-r<revision>
cruizba/ubuntu-dind:noble-<docker-version>-systemd-r<revision>
cruizba/ubuntu-dind:focal-systemd-<docker-version>-r<revision>
cruizba/ubuntu-dind:jammy-systemd-<docker-version>-r<revision>
cruizba/ubuntu-dind:noble-systemd-<docker-version>-r<revision>
```

### Latest Images per Ubuntu version:
Expand Down
4 changes: 2 additions & 2 deletions create_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ build_systemd_image() {

docker build \
--build-arg UBUNTU_VERSION=${ubuntu_version} \
-t cruizba/ubuntu-dind:${ubuntu_name}-${DOCKER_VERSION}-systemd \
-t cruizba/ubuntu-dind:${ubuntu_name}-${DOCKER_VERSION}-systemd-r${BUILD_NUMBER} \
-t cruizba/ubuntu-dind:${ubuntu_name}-systemd-${DOCKER_VERSION} \
-t cruizba/ubuntu-dind:${ubuntu_name}-systemd-${DOCKER_VERSION}-r${BUILD_NUMBER} \
-t cruizba/ubuntu-dind:${ubuntu_name}-systemd-latest \
-f Dockerfile.systemd .

Expand Down

0 comments on commit 69681a9

Please sign in to comment.