Skip to content

bump version

bump version #18

Workflow file for this run

name: Docker Build Images
on:
workflow_dispatch:
push:
branches:
- master
paths-ignore:
- README.md
env:
PLATFORMS: 'linux/amd64,linux/arm64'
IMAGE_NAME: 'easypi/openrefine'
OPENREFINE_VERSION: '3.7.5'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/build-push-action@v4
with:
platforms: ${{ env.PLATFORMS }}
build-args: |
OPENREFINE_VERSION=${{ env.OPENREFINE_VERSION }}
tags: |
${{ env.IMAGE_NAME }}:${{ env.OPENREFINE_VERSION }}
${{ env.IMAGE_NAME }}:latest
push: true
- if: ${{ always() }}
uses: slackapi/[email protected]
with:
channel-id: github
payload: |
{
"attachments": [
{
"color": "${{ job.status == 'success' && 'good' || 'danger' }}",
"title": "${{ github.repository }}",
"title_link": "https://github.com/${{ github.repository }}",
"text": "docker build image result",
"fields": [
{
"title": "Image",
"value": "<https://hub.docker.com/r/${{ env.IMAGE_NAME }}|${{ env.IMAGE_NAME }}>",
"short": true
},
{
"title": "Status",
"value": "${{ job.status }}",
"short": true
}
],
"footer": "Github Actions",
"footer_icon": "https://github.githubassets.com/favicon.ico"
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}