Skip to content

Commit

Permalink
chore: new EOL values
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Mar 14, 2024
1 parent f36d38b commit b610517
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 40 deletions.
78 changes: 39 additions & 39 deletions .github/workflows/dockerx.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
name: Build and Push Headless Images
on:
schedule:
- cron: 0 1 * * *
push:
branches-ignore:
- none
workflow_dispatch: null
jobs:
build:
name: Build
timeout-minutes: 60
runs-on: linux
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: '${{ secrets.DOCKERHUB_USERNAME }}'
password: '${{ secrets.DOCKERHUB_TOKEN }}'
- name: Set tag name based on branch
id: set_tag
run: |
if [[ "${{ github.ref_name }}" != "master" ]]; then
GITHUB_REFNAME=${{ github.ref_name }}
BRANCH_NAME=${GITHUB_REFNAME//\//_}
echo "tag=-$BRANCH_NAME" >> $GITHUB_OUTPUT
fi
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.chromium
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
push: true
tags: hivesolutions/headless:chromium${{ steps.set_tag.outputs.tag }}
name: Build and Push Headless Images
on:
schedule:
- cron: 0 1 * * *
push:
branches-ignore:
- none
workflow_dispatch: null
jobs:
build:
name: Build
timeout-minutes: 60
runs-on: linux
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: '${{ secrets.DOCKERHUB_USERNAME }}'
password: '${{ secrets.DOCKERHUB_TOKEN }}'
- name: Set tag name based on branch
id: set_tag
run: |
if [[ "${{ github.ref_name }}" != "master" ]]; then
GITHUB_REFNAME=${{ github.ref_name }}
BRANCH_NAME=${GITHUB_REFNAME//\//_}
echo "tag=-$BRANCH_NAME" >> $GITHUB_OUTPUT
fi
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.chromium
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
push: true
tags: hivesolutions/headless:chromium${{ steps.set_tag.outputs.tag }}
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@ Headless is currently licensed under the [Apache License, Version 2.0](http://ww
[![Build Status GitHub](https://github.com/hivesolutions/headless/workflows/Main%20Workflow/badge.svg)](https://github.com/hivesolutions/headless/actions)
[![npm Status](https://img.shields.io/npm/v/hive-headless.svg)](https://www.npmjs.com/package/hive-headless)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://www.apache.org/licenses/)

0 comments on commit b610517

Please sign in to comment.