Skip to content

Update README.md

Update README.md #61

Workflow file for this run

name: Docker Image
on:
workflow_dispatch:
push:
branches: [ master ]
env:
DOCKER_REPOSITORY: wxxxcxx/ms-ra-forwarder
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'wxxxcxx/ms-ra-forwarder'
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Docker setup QEMU
uses: docker/[email protected]
- name: Docker setup Buildx
uses: docker/[email protected]
- name: Docker login
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Create docker image tag
run: echo DATE_TAG=$(date +%y%m%d%H%M%S) >> $GITHUB_ENV
- name: Build and push docker image
uses: docker/[email protected]
with:
push: true
platforms: |
linux/amd64
linux/arm/v7
linux/arm64/v8
linux/ppc64le
linux/s390x
tags: |
${{ env.DOCKER_REPOSITORY }}:${{ env.DATE_TAG }}
${{ env.DOCKER_REPOSITORY }}:latest