Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Bump actions/checkout from 4.1.4 to 4.1.5 (#60) #53

Bump actions/checkout from 4.1.4 to 4.1.5 (#60)

Bump actions/checkout from 4.1.4 to 4.1.5 (#60) #53

Workflow file for this run

name: Release
on:
push:
branches:
- master
- develop
tags:
- '*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
env:
IMAGE_NAME: tosainu/fortivpn-socks5
steps:
- uses: actions/checkout@v4.1.5
- uses: docker/setup-qemu-action@v3.0.0
id: qemu
with:
platforms: arm64
- uses: docker/setup-buildx-action@v3.3.0
- 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="${{ steps.qemu.outputs.platforms }}" --push -t "$REGISTRY/$IMAGE_NAME:${{ github.ref_name }}" .
rm -rf ~/.docker