1.0.5 #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
release: | |
types: [created] | |
jobs: | |
buildx: | |
# strategy: | |
# fail-fast: false | |
# 1 job at a time since cron depends on latest | |
# max-parallel: 1 | |
# matrix: | |
# tag: | |
# - latest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@main | |
with: | |
ref: ${{ github.ref }} | |
- name: Set Docker Tag | |
run: echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV | |
- name: Docker login | |
uses: azure/docker-login@v1 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Build docker container | |
env: | |
DOCKER_CLI_EXPERIMENTAL: enabled | |
run: | | |
curl -fsSL https://raw.githubusercontent.com/pschmitt/ci-setup-docker-buildx/master/setup.sh | bash | |
./build.sh ${{ matrix.tag }} -p |