-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
102 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: "v2.4" | ||
|
||
on: | ||
schedule: | ||
- cron: '0 4 * * 3' | ||
workflow_dispatch: | ||
|
||
env: | ||
# The default repo env will be 'ComputeStacks'; uppercase is not allowed. | ||
GH_REPO: computestacks/cs-docker-xtrabackup | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Docker buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Log into Github Registry | ||
if: github.event_name != 'pull_request' | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build and push | ||
id: build-and-push | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: 2.4/ | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: | | ||
ghcr.io/${{ env.GH_REPO }}:2.4 | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: "v8.0" | ||
|
||
on: | ||
schedule: | ||
- cron: '0 5 * * 3' | ||
workflow_dispatch: | ||
|
||
env: | ||
# The default repo env will be 'ComputeStacks'; uppercase is not allowed. | ||
GH_REPO: computestacks/cs-docker-xtrabackup | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Docker buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Log into Github Registry | ||
if: github.event_name != 'pull_request' | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build and push | ||
id: build-and-push | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: 8.0/ | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: | | ||
ghcr.io/${{ env.GH_REPO }}:8.0 | ||
ghcr.io/${{ env.GH_REPO }}:latest | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
FROM ghcr.io/computestacks/cs-docker-base:ubuntu-focal | ||
|
||
LABEL maintainer="ComputeStacks <[email protected]>" | ||
LABEL org.opencontainers.image.authors="https://computestacks.com" | ||
LABEL org.opencontainers.image.source="https://github.com/ComputeStacks/cs-docker-xtrabackup/tree/main/2.4" | ||
LABEL org.opencontainers.image.url="https://github.com/ComputeStacks/cs-docker-xtrabackup/tree/main/2.4" | ||
LABEL org.opencontainers.image.title="Percona xtrabackup 2.4" | ||
|
||
RUN wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb \ | ||
&& dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb | ||
&& dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb \ | ||
&& percona-release enable-only tools | ||
|
||
RUN set -ex; \ | ||
\ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
FROM ghcr.io/computestacks/cs-docker-base:ubuntu-focal | ||
|
||
LABEL maintainer="ComputeStacks <[email protected]>" | ||
LABEL org.opencontainers.image.authors="https://computestacks.com" | ||
LABEL org.opencontainers.image.source="https://github.com/ComputeStacks/cs-docker-xtrabackup/tree/main/8.0" | ||
LABEL org.opencontainers.image.url="https://github.com/ComputeStacks/cs-docker-xtrabackup/tree/main/8.0" | ||
LABEL org.opencontainers.image.title="Percona xtrabackup 8.0" | ||
|
||
RUN wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb \ | ||
&& dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb \ | ||
&& percona-release enable-only tools | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& wget -O mysqlconfig.deb https://dev.mysql.com/get/mysql-apt-config_0.8.20-1_all.deb \ | ||
&& echo mysql-apt-config mysql-apt-config/select-server select mysql-8.0 | debconf-set-selections \ | ||
&& dpkg -i mysqlconfig.deb | ||
|
||
RUN set -ex; \ | ||
\ | ||
apt-get update; \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Percona xtrabackup | ||
|
||
Container images used by ComputeStacks' backup agent for MySQL. |