Skip to content

Commit

Permalink
fix: change build
Browse files Browse the repository at this point in the history
  • Loading branch information
innovisus committed Feb 12, 2025
1 parent 6f8dd8d commit 24f3eb2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
tags: |
ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest
platforms: linux/amd64
build-args: BUILD_TYPE=default

- name: Build and push NVIDIA image
uses: docker/build-push-action@v4
Expand All @@ -46,4 +47,5 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest-nv
platforms: linux/amd64
platforms: linux/amd64
build-args: BUILD_TYPE=nvidia
3 changes: 3 additions & 0 deletions DockerfileUpgrade
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM ghcr.io/alt-gnome/alt-atomic:base

# Определяем тип сборки
ARG BUILD_TYPE="default"
ENV BUILD_TYPE=$BUILD_TYPE

RUN --mount=type=bind,source=./src,target=/src \
apt-get update && \
Expand Down
4 changes: 4 additions & 0 deletions DockerfileUpgradeNvidia
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM ghcr.io/alt-gnome/alt-atomic:base

# Определяем тип сборки
ARG BUILD_TYPE="default"
ENV BUILD_TYPE=$BUILD_TYPE

RUN --mount=type=bind,source=./src,target=/src \
apt-get update && \
apt-get dist-upgrade -y && \
Expand Down

0 comments on commit 24f3eb2

Please sign in to comment.