mirror of
https://github.com/rclone/rclone.git
synced 2024-12-12 10:12:41 +01:00
fef90ef0a9
- prune docker images to ones we normally build binaries for - add fixed versions - add fetch-depth to fetch the tags so the version number is correct - rename the job names
26 lines
743 B
YAML
26 lines
743 B
YAML
name: Docker beta build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
name: Build image job
|
|
steps:
|
|
- name: Checkout master
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Build and publish image
|
|
uses: ilteoood/docker_buildx@439099796bfc03dd9cedeb72a0c7cb92be5cc92c
|
|
with:
|
|
tag: beta
|
|
imageName: rclone/rclone
|
|
platform: linux/amd64,linux/386,linux/arm64,linux/arm/v7
|
|
publish: true
|
|
dockerHubUser: ${{ secrets.DOCKER_HUB_USER }}
|
|
dockerHubPassword: ${{ secrets.DOCKER_HUB_PASSWORD }}
|