Skip to content

Modified README

Modified README #26

Workflow file for this run

name: Release
on:
push:
branches:
- main
- develop
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
env:
IMAGE_NAME: chussum/fortivpn-proxy
steps:
- uses: actions/[email protected]
- uses: docker/[email protected]
- name: Build and push
env:
REGISTRY: ghcr.io
USERNAME: ${{ github.actor }}
PASSWORD: ${{ secrets.GITHUB_TOKEN }}
run: |
docker login "$REGISTRY" -u "$USERNAME" --password-stdin <<< "$PASSWORD"
docker buildx build --platform=linux/amd64,linux/arm/v7,linux/arm64/v8 --push -t "$REGISTRY/$IMAGE_NAME:${{ github.ref_name }}" .
rm -rf ~/.docker