Skip to content

Merge pull request #1 from pavlospt/chore/compile-for-arm64 #1

Merge pull request #1 from pavlospt/chore/compile-for-arm64

Merge pull request #1 from pavlospt/chore/compile-for-arm64 #1

Workflow file for this run

name: main
on:
push:
branches:
- main
env:
DOCKER_IMAGE: pavlospt/render-template
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build and push Docker image
uses: chuhlomin/actions/docker-build-push@main
with:
username: pavlospt
password: ${{ secrets.DOCKER_PASSWORD }}
image_name: ${{ env.DOCKER_IMAGE }}
tags: |
${{ env.DOCKER_IMAGE }}:${{ github.sha }}
${{ env.DOCKER_IMAGE }}:latest
- name: Test action
uses: ./ # Uses an action in the root directory
id: render
with:
template: ./testdata/template.txt
vars: |
name: world
- name: Get `result` output
run: echo "${{ steps.render.outputs.result }}"