Skip to content

Publish Database

Publish Database #691

Workflow file for this run

name: Publish Database
on:
schedule:
- cron: '0 0 * * *'
env:
AWS_REGION: "eu-west-1"
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
jobs:
amazonlinux-1:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
- uses: actions/checkout@v2
with:
ref: ${{ env.STABLE }}
- uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- name: Install AWS CLI
id: install-aws-cli
uses: unfor19/install-aws-cli-action@master
with:
version: "2"
- name: Publish results to S3
run: make publish/amazonlinux
amazonlinux-2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
- uses: actions/checkout@v2
with:
ref: ${{ env.STABLE }}
- uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- name: Install AWS CLI
id: install-aws-cli
uses: unfor19/install-aws-cli-action@master
with:
version: "2"
- name: Publish results to S3
run: make publish/amazonlinux2
amazonlinux-2022:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
- uses: actions/checkout@v2
with:
ref: ${{ env.STABLE }}
- uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- name: Install AWS CLI
id: install-aws-cli
uses: unfor19/install-aws-cli-action@master
with:
version: "2"
- name: Publish results to S3
run: make publish/amazonlinux2022
amazonlinux-2023:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
- uses: actions/checkout@v2
with:
ref: ${{ env.STABLE }}
- uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- name: Install AWS CLI
id: install-aws-cli
uses: unfor19/install-aws-cli-action@master
with:
version: "2"
- name: Publish results to S3
run: make publish/amazonlinux2023
centos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
- uses: actions/checkout@v2
with:
ref: ${{ env.STABLE }}
- uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- name: Install AWS CLI
id: install-aws-cli
uses: unfor19/install-aws-cli-action@master
with:
version: "2"
- name: Publish results to S3
run: make publish/centos
debian:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
- uses: actions/checkout@v2
with:
ref: ${{ env.STABLE }}
- uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- name: Install AWS CLI
id: install-aws-cli
uses: unfor19/install-aws-cli-action@master
with:
version: "2"
- name: Publish results to S3
run: make publish/debian
fedora:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
- uses: actions/checkout@v2
with:
ref: ${{ env.STABLE }}
- uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- name: Install AWS CLI
id: install-aws-cli
uses: unfor19/install-aws-cli-action@master
with:
version: "2"
- name: Publish results to S3
run: make publish/fedora
opensuse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
- uses: actions/checkout@v2
with:
ref: ${{ env.STABLE }}
- uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- name: Install AWS CLI
id: install-aws-cli
uses: unfor19/install-aws-cli-action@master
with:
version: "2"
- name: Publish results to S3
run: make publish/opensuse
oracle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
- uses: actions/checkout@v2
with:
ref: ${{ env.STABLE }}
- uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- name: Install AWS CLI
id: install-aws-cli
uses: unfor19/install-aws-cli-action@master
with:
version: "2"
- name: Publish results to S3
run: make publish/oracle
ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
- uses: actions/checkout@v2
with:
ref: ${{ env.STABLE }}
- uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- name: Install AWS CLI
id: install-aws-cli
uses: unfor19/install-aws-cli-action@master
with:
version: "2"
- name: Publish results to S3
run: make publish/ubuntu