Skip to content

Commit 93d8c3b

Browse files
authored
Fork PRs: do not push the docker image (#132)
* Fork PRs: do not push the docker image * Bump docker image distro to Ubuntu Noble
1 parent 79b00fc commit 93d8c3b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
with:
4040
fetch-depth: 0
4141
- uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
42+
if: github.repository_owner == 'mattermost'
4243
with:
4344
ecr: false
4445
username: matterbuild
@@ -54,6 +55,7 @@ jobs:
5455
run: make package
5556

5657
- name: Build
58+
if: github.repository_owner == 'mattermost'
5759
run: make docker-push
5860

5961
- name: Cleanup

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=${TARGETPLATFORM} ubuntu:mantic-20240405 AS builder
1+
FROM --platform=${TARGETPLATFORM} ubuntu:noble-20241118.1 AS builder
22
ARG TARGETARCH
33

44
# Setting bash as our shell, and enabling pipefail option
@@ -9,7 +9,7 @@ WORKDIR /mattermost-push-proxy
99
COPY dist/mattermost-push-proxy-linux-${TARGETARCH}.tar.gz /mattermost-push-proxy-linux.tar.gz
1010
RUN tar -xf /mattermost-push-proxy-linux.tar.gz --strip-components=1 -C /mattermost-push-proxy
1111

12-
FROM --platform=${TARGETPLATFORM} ubuntu:mantic-20240405
12+
FROM --platform=${TARGETPLATFORM} ubuntu:noble-20241118.1
1313

1414
# Install needed packages and indirect dependencies
1515
# hadolint ignore=DL3008

0 commit comments

Comments
 (0)