Skip to content

Commit e5aa2ab

Browse files
committed
Update VSTS agent version to 4.251.0 and add CI workflow for automated builds
1 parent 8522a79 commit e5aa2ab

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
on:
3+
push:
4+
paths-ignore:
5+
- "README.md"
6+
- "LICENSE"
7+
pull_request:
8+
9+
env:
10+
DOCKER_BUILDKIT: 1
11+
DOCKER_REPO_TAG: "${{ github.repository }}:${{ github.sha }}"
12+
13+
jobs:
14+
15+
validate:
16+
runs-on: ubuntu-latest
17+
steps:
18+
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: docker build
23+
uses: docker/build-push-action@v4
24+
with:
25+
context: src
26+
file: ./Dockerfile
27+
push: false
28+
tags: ${{ env.DOCKER_REPO_TAG }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG ARG_UBUNTU_BASE_IMAGE_TAG="20.04"
33
FROM ubuntu:${ARG_UBUNTU_BASE_IMAGE_TAG}
44
WORKDIR /azp
55
ENV TARGETARCH=linux-x64
6-
ENV VSTS_AGENT_VERSION=3.248.0
6+
ENV VSTS_AGENT_VERSION=4.251.0
77

88

99
# To make it easier for build and release pipelines to run apt-get,

0 commit comments

Comments
 (0)