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

DeanAyalon pushed a release to refs/heads/actions #15

DeanAyalon pushed a release to refs/heads/actions

DeanAyalon pushed a release to refs/heads/actions #15

Workflow file for this run

name: Docker Image CI
run-name: ${{ github.actor }} pushed a release to ${{ github.event.ref }}
on:
push:
branches:
- actions
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# - name: awk
# run: awk
- name: Get branch name
# shell: bash
# run: echo $0
id: branch-name
run: ./.github/scripts/branch-tag.sh ${{ github.event.ref }}
# run: |
# echo "Ref: ${{ github.event.ref }}"
# branch=$(echo "${{ github.event.ref }}" | awk -F'heads/' '{print $2}')
# echo "branch=$branch" >> "$GITHUB_OUTPUT"
# run: branch=$(echo "${{ github.event.ref }}" | awk -F'heads/' '{print $2}')
- name: Echo branch
env:
BRANCH: ${{ steps.branch-name.outputs.BRANCH }}
run: echo "Branch $BRANCH"
# - name: Build the Docker image using compose
# run: docker build . -t dean-verdaccio:test
# - name: Show images?
# run: docker image ls