Skip to content

Commit b75a086

Browse files
committed
Support building container image with podman
1 parent 0a9aca6 commit b75a086

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
${{ steps.localreg.outputs.mixlocaltag }}
115115
116116
- name: Prepare ecs Dockerfile
117-
run: sed -i 's|ejabberd/mix|${{ steps.localreg.outputs.mixlocaltag }}|g' ecs/Dockerfile
117+
run: sed -i 's|docker.io/ejabberd/mix|${{ steps.localreg.outputs.mixlocaltag }}|g' ecs/Dockerfile
118118

119119
- name: Build and push local ecs image
120120
uses: docker/build-push-action@v5

ecs/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ RUN go install -v \
33
github.com/processone/ejabberd-api/cmd/ejabberd@latest \
44
&& mv bin/ejabberd bin/ejabberdapi
55

6-
FROM ejabberd/mix as builder
6+
FROM docker.io/ejabberd/mix AS builder
77
ARG VERSION
88
ENV VERSION=${VERSION:-latest} \
99
MIX_ENV=prod
@@ -48,7 +48,7 @@ RUN mkdir runtime \
4848
&& cp -r /ejabberd/sql lib/ejabberd-*/priv
4949

5050
# Runtime container
51-
FROM alpine:3.19
51+
FROM docker.io/alpine:3.19
5252
ARG VERSION
5353
ARG VCS_REF
5454
ARG BUILD_DATE

0 commit comments

Comments
 (0)