Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update docker/build-push-action action to v4 - autoclosed #16

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 11 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,29 @@ jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
- uses: actions/cache@v2
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: ${{ runner.os }}-buildx-
- uses: crazy-max/ghaction-docker-meta@v1
- uses: docker/metadata-action@v4
id: docker_meta
with:
images: |
rtainjapan/nginx-rtmp
ghcr.io/rtainjapan/nginx-rtmp
tag-sha: true
- uses: docker/login-action@v1
with:
username: hoishin
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/login-action@v1
tags: |
type=sha
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: hoishin
password: ${{ secrets.CR_TOKEN }}
- uses: docker/build-push-action@v2
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name == 'push' }}
Expand Down
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM alpine:3.12 AS build
FROM alpine:3.16 AS build

ENV NGINX_VERSION 1.19.6
ENV NGINX_RTMP_VERSION 1.2.1
ENV NGINX_VERSION 1.23.1

WORKDIR /

Expand All @@ -20,7 +19,7 @@ RUN make
RUN make install


FROM alpine:3.12
FROM alpine:3.16

RUN apk add --no-cache pcre openssl zlib

Expand Down
2 changes: 1 addition & 1 deletion nginx-rtmp-module