Skip to content

WIP

WIP #1

name: Build
on:
push:
branches:
- 'AXON-37-**'
workflow_dispatch: {}
# inputs:
# image-tag:
# description: 'The image tag to use for the build'
# required: true
# default: 'latest'
jobs:
build-e2e-docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: |
docker build \
--platform linux/amd64 \
--tag ghcr.io/atlassian/atlascode-e2e:$GITHUB_SHA \
--tag ghcr.io/atlassian/atlascode-e2e:latest \
- <e2e/Dockerfile
- name: Push the Docker image
run: |
docker push ghcr.io/atlassian/atlascode-e2e:$GITHUB_SHA
docker push ghcr.io/atlassian/atlascode-e2e:latest