2424 <%- endif +%>
2525 runs-on: %% github_runs_on %%
2626 container:
27- image: docker:24.0-git
27+ image: docker:%% github_docker_image_version %%
2828 permissions:
2929 contents: read
3030 packages: %% 'write' if (github_registry.url | default(github_default_registry.url)) == 'ghcr.io' else 'none' %%
@@ -34,36 +34,36 @@ jobs:
3434 %% github_checkout_hook | indent(width=6, first=false) %%
3535<% endif %>
3636 - name: Checkout kayobe config
37- uses: actions/checkout@v3
37+ uses: actions/checkout@%% github_actions_checkout_version %%
3838 with:
3939 submodules: true
4040 path: docker-image-build
4141
4242 - name: Log in to the Container registry
43- uses: docker/login-action@v2
43+ uses: docker/login-action@%% github_docker_login_action_version %%
4444 with:
4545 registry: %% github_registry.url | default(github_default_registry.url) %%
4646 username: %% github_registry.username | default(github_default_registry.username) %%
4747 password: %% github_registry.password | default(github_default_registry.password) %%
4848
4949<% if github_buildx_enabled %>
5050 - name: Set up Docker Buildx
51- uses: docker/setup-buildx-action@v2
51+ uses: docker/setup-buildx-action@%% github_docker_setup_buildx_action_version %%
5252 with:
5353 driver-opts: |
54- image=moby/buildkit:v0.12.1
54+ image=moby/buildkit:%% github_buildkit_image_version %%
5555<% if github_buildx_inline_config | length >= 1 %>
5656 config-inline: |
5757 %% github_buildx_inline_config | indent(12) | trim %%
5858<% endif %>
59- version: v0.11.2
59+ version: %% github_buildx_version %%
6060
6161<% endif %>
6262<% if github_kayobe_hook | length >= 1 %>
6363 %% github_kayobe_hook | indent(width=6, first=false) %%
6464<% endif %>
6565 - name: Build and push Docker image
66- uses: docker/build-push-action@v4
66+ uses: docker/build-push-action@%% github_docker_build_push_action_version %%
6767 with:
6868 file: ./docker-image-build/.automation/docker/kayobe/Dockerfile
6969 context: docker-image-build
0 commit comments