Skip to content

upgrade perl to v5.40.0 #35

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

Open
wants to merge 3 commits into
base: perl_40
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions .github/workflows/build_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- master
- perl_40
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/merged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
push:
branches:
- master
- perl_40

env:
BRANCH_NAME: ${{ github.ref_name == "master" && 'latest' || github.ref_name }}

jobs:
perl:
runs-on: ubuntu-latest
Expand All @@ -23,7 +28,7 @@ jobs:
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09
with:
context: '.'
tags: deriv/perl:latest
tags: deriv/perl:${{env.BRANCH_NAME}}
push: true
dzil:
needs: perl
Expand All @@ -38,12 +43,17 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Pull the associated perl image
run: |
docker pull deriv/perl:${{env.BRANCH_NAME}}
docker tag deriv/perl:${{env.BRANCH_NAME}} deriv/perl:latest
-
name: Build And Publish Docker Image
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09
with:
context: 'dzil/'
tags: deriv/dzil:latest
tags: deriv/dzil:${{env.BRANCH_NAME}}
push: true
hadolint:
uses: ./.github/workflows/hadolint.yml
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This is the layer that can run things
FROM debian:stable
FROM debian:stable-slim
LABEL maintainer="Deriv Services Ltd <[email protected]>"

# Some standard server-like config used everywhere
ENV TZ=UTC
ENV DEBIAN_FRONTEND=noninteractive
ENV PERL_VERSION=5.36.0
ENV PERL_SHA256=0f386dccbee8e26286404b2cca144e1005be65477979beb9b1ba272d4819bcf0
ENV PERL_VERSION=5.40.0
ENV PERL_SHA256=d5325300ad267624cb0b7d512cfdfcd74fa7fe00c455c5b51a6bd53e5e199ef9
ENV CPANM_VERSION=1.7045
ENV CPANM_SHA256=ac4e4adc23fec0ab54f088aca511f5a57d95e6c97a12a1cb98eed1fe0fe0e99c

Expand Down
Loading