Skip to content

Commit

Permalink
Fix Docker pushes in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
garyttierney committed Oct 11, 2024
1 parent 8f7defb commit b55ee3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: ci
name: Build containers

on:
push:

env:
REGISTRY_IMAGE: user/app
REGISTRY_IMAGE: digirati-co-uk/laya

jobs:
build:
name: "Build optimized container (${{ matrix.build_configuration.name }})"
name: "${{ matrix.build_configuration.name }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
with:
platforms: ${{ matrix.build_configuration.platform }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=false
build-args: |
TARGET=${{ matrix.build_configuration.triple }}
TARGET_CPU=${{ matrix.build_configuration.cpu }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM docker.io/library/rust:1.81-bookworm as builder
ARG TARGET="x86_64-unknown-linux-gnu"
ARG TARGET_CPU="native"

RUN apt-get update -y && apt-get install -y linux-headers-amd64 git libc6-dev
RUN apt-get update -y && apt-get install -y linux-headers-$(uname -r) git libc6-dev
RUN rustup install stable

WORKDIR /build
Expand Down

0 comments on commit b55ee3d

Please sign in to comment.